Skip to content

Commit 7969c9d

Browse files
committed
return if no standard storage is available
1 parent bdb8ff5 commit 7969c9d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ResourceManager/Compute/Commands.Compute/Extension/AEM/SetAzureRmVMAEMExtension.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,7 @@ public override void ExecuteCmdlet()
296296
if (wadstorage == null)
297297
{
298298
this._Helper.WriteError("A Standard Storage Account is required.");
299+
return;
299300
}
300301

301302
selectedVM = SetAzureVMDiagnosticsExtensionC(selectedVM, wadstorage.Key, wadstorage.Value);

0 commit comments

Comments
 (0)