Skip to content

vm:load json file correctly for setting extensions - #2790

Merged
Yugang Wang (yugangw-msft) merged 1 commit into
Azure:masterfrom
yugangw-msft:vmdiag
Apr 6, 2017
Merged

Yugang Wang (yugangw-msft) merged 1 commit into
Azure: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 ~

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