Skip to content

Commit 99331b3

Browse files
committed
Address Code review comments
1 parent 2c45093 commit 99331b3

File tree

3 files changed

+10811
-17703
lines changed

3 files changed

+10811
-17703
lines changed

src/ResourceManager/Compute/Commands.Compute/Extension/DSC/SetAzureVMDscExtensionCommand.cs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,10 @@ public class SetAzureVMDscExtensionCommand : VirtualMachineExtensionBaseCmdlet
210210
/// <summary>
211211
/// The Extension Data Collection state
212212
/// </summary>
213-
[Parameter(ValueFromPipelineByPropertyName = true, HelpMessage = "Enables or Disables Data Collection in the extension. It is enabled if it is not specified. The value is persisted in the extension between calls.")]
213+
[Parameter(ValueFromPipelineByPropertyName = true,
214+
HelpMessage = "Enables or Disables Data Collection in the extension. It is enabled if it is not specified. " +
215+
"The value is persisted in the extension between calls.")
216+
]
214217
[ValidateSet("Enable", "Disable")]
215218
[AllowNull]
216219
public string DataCollection { get; set; }
@@ -317,7 +320,7 @@ private void CreateConfiguration()
317320

318321
publicSettings.SasToken = configurationUris.SasToken;
319322
publicSettings.ModulesUrl = configurationUris.ModulesUrl;
320-
publicSettings.DataCollection = this.DataCollection;
323+
publicSettings.DataCollection = DataCollection;
321324
publicSettings.ConfigurationFunction = string.Format(
322325
CultureInfo.InvariantCulture,
323326
"{0}\\{1}",

0 commit comments

Comments
 (0)