We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 717a520 commit 38a6477Copy full SHA for 38a6477
src/ServiceManagement/Compute/Commands.ServiceManagement/Helpers/PersistentVMHelper.cs
@@ -193,6 +193,11 @@ public static MCM.VMImageInput MapVMImageInput(CSM.VMImageInput vmImageInput)
193
{
194
var result = new MCM.VMImageInput();
195
196
+ if (vmImageInput == null)
197
+ {
198
+ return null;
199
+ }
200
+
201
if (vmImageInput.OSDiskConfiguration != null)
202
203
result.OSDiskConfiguration = new MCM.OSDiskConfiguration()
0 commit comments