MicrosoftDocs / composer-docs

Public sync of existing composer-docs-pr repo
Creative Commons Attribution 4.0 International
2 stars 5 forks source link

Sample code snippet is incorrect #179

Closed rcabr closed 2 years ago

rcabr commented 2 years ago

I discovered this by running this code after changing --CreateQnAResource to false, but the QnA resources were still deployed.

Sample code snippet is incorrect.

  1. "createAppInsights" should be prepended with "--".
  2. "--CreateQnAResource" should probably be "--createQnAResource" for consistency.

Original: node provisionComposer.js --subscriptionId= --name= --appPassword= --environment= --location= --createLuisResource=true --createLuisAuthoringResource=true --createCosmosDb=false --createStorage=false createAppInsights=true --CreateQnAResource=true

Fixed: node provisionComposer.js --subscriptionId= --name= --appPassword= --environment= --location= --createLuisResource=true --createLuisAuthoringResource=true --createCosmosDb=false --createStorage=false --createAppInsights=true --createQnAResource=true


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

emgrol commented 2 years ago

Closing now that the fix was published live.