Skip to content
This repository has been archived by the owner on Jul 14, 2023. It is now read-only.

multiline: respect comment and start space #462

Merged
merged 8 commits into from
Jul 1, 2020

Conversation

changlong-liu
Copy link
Member

@changlong-liu changlong-liu commented Jun 29, 2020

fix issue #429 #404 #406 #428

@changlong-liu changlong-liu force-pushed the 20200623-resourcename branch from d00f3ed to c1121e7 Compare June 29, 2020 02:46
@changlong-liu changlong-liu requested a review from qiaozha June 29, 2020 03:00
@@ -23,7 +23,7 @@
examples:
- name: Factories_ListByResourceGroup
text: |-
az datafactory list --resource-group "exampleResourceGroup"
az datafactory list --resource-group "myResourceGroup2"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why this is myResourceGroup2

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be the second resource-group in all example files

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why? They are exampleResourceGroup in all the examples.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed here: 6ec8b8a

@@ -32,7 +32,7 @@
examples:
- name: Factories_Get
text: |-
az datafactory show --name "exampleFactoryName" --resource-group "exampleResourceGroup"
az datafactory show --name "exampleFactoryName" --resource-group "myResourceGroup"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think what CLI team wanted is for all the resource name change it into myResourceName

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For ezample exampleFactoryName => myFactoryName

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

internal resource name are fixed in here: 9bf198e

@@ -181,8 +181,10 @@ export interface CodeModelAz {
GetPreparerEntities(): any[];
GatherInternalResource();
FindExampleWaitById(id: string): string[][];
GetExampleItems(example: CommandExample, isTest: boolean, commandParams: any): string[];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am wondering when do we call this GetExampleItems and pass isTest as true?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got it. thx

Copy link
Member

@qiaozha qiaozha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's keep the referenceName for now

@qiaozha qiaozha merged commit ebb4d4f into Azure:master Jul 1, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants