Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default createOptions type is json object #280

Merged
merged 3 commits into from
Nov 9, 2018
Merged

Default createOptions type is json object #280

merged 3 commits into from
Nov 9, 2018

Conversation

adashen
Copy link
Member

@adashen adashen commented Nov 8, 2018

  1. Make { } as default in deployment.template.json
  2. object as default when adding module into deployment.template.json
  3. Auto-complete use {} instead of "{}" as default for createOptions

@@ -27,7 +27,7 @@ export class ConfigCompletionItemProvider implements vscode.CompletionItemProvid
"\t\"restartPolicy\": \"${4|" + Constants.moduleRestartPolicies.join(",") + "|}\",",
"\t\"settings\": {",
"\t\t\"image\": \"${5:" + Constants.registryPlaceholder + "}/${6:" + Constants.repoNamePlaceholder + "}:${7:" + Constants.tagPlaceholder + "}\",",
"\t\t\"createOptions\": \"${8:{}}\"",
"\t\t\"createOptions\": ${8:{}}",
Copy link
Contributor

@LazarusX LazarusX Nov 8, 2018

Choose a reason for hiding this comment

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

Should be "\t\t\"createOptions\": {$8}",

@adashen adashen merged commit 8aaafaa into microsoft:master Nov 9, 2018
@adashen adashen deleted the shenwe_master branch November 12, 2018 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants