Skip to content

vm:load json file correctly for setting extensions#2790

Merged
yugangw-msft merged 1 commit intoAzure:masterfrom
yugangw-msft:vmdiag
Apr 6, 2017
Merged

vm:load json file correctly for setting extensions#2790
yugangw-msft merged 1 commit intoAzure:masterfrom
yugangw-msft:vmdiag

Conversation

@yugangw-msft
Copy link
Copy Markdown
Contributor

This will fix VM/VMSS diagnostics live test failure

This checklist is used to make sure that common guidelines for a pull request are followed.

General Guidelines

  • [] The PR has modified HISTORY.rst with an appropriate description of the change (see Modifying change log).

Command Guidelines

  • [ ] Each command and parameter has a meaningful description.
  • [x ] Each new command has a test.

(see Authoring Command Modules)


def validate_file_or_dict(string):
import os
string = os.path.expanduser(string)
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Rather rollback the change, I prefer to just use validate_file_or_dict for loading extension data, hence i update it to respect the ~

@yugangw-msft yugangw-msft merged commit 2f4ff99 into Azure:master Apr 6, 2017
@yugangw-msft yugangw-msft deleted the vmdiag branch April 6, 2017 23:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants