Skip to content

Commit 96df89c

Browse files
authored
fix issue for PVS-Studio (#14365)
1 parent 05aa2d5 commit 96df89c

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/Compute/Compute/VirtualMachine/Config/SetAzureVMOperatingSystemCommand.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -349,9 +349,6 @@ public override void ExecuteCmdlet()
349349
});
350350
}
351351

352-
// OS Profile
353-
this.VM.OSProfile.WindowsConfiguration.ProvisionVMAgent = this.VM.OSProfile.WindowsConfiguration.ProvisionVMAgent;
354-
355352
if (this.ProvisionVMAgent.IsPresent)
356353
{
357354
this.VM.OSProfile.WindowsConfiguration.ProvisionVMAgent = true;

0 commit comments

Comments
 (0)