Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
grizzlytheodore committed Apr 15, 2022
1 parent 5055239 commit 1464d50
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/Compute/Compute/StorageServices/AddAzureVhdCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ public class AddAzureVhdCommand : ComputeClientBaseCmdlet
private const int DefaultNumberOfUploaderThreads = 8;
private const string DefaultParameterSet = "DefaultParameterSet";
private const string DirectUploadToManagedDiskSet = "DirectUploadToManagedDiskSet";
private bool ConvertedResized = false;
private long FixedSize;

[Parameter(
Expand Down Expand Up @@ -554,7 +553,6 @@ private void convertVhd()
}
WriteVerbose("Converted file: " + ConvertedPath);
this.LocalFilePath = new FileInfo(vhdFileInfo.FullName);
ConvertedResized = true;
}
}
catch (System.Management.ManagementException ex)
Expand Down Expand Up @@ -617,7 +615,6 @@ private void resizeVhdFile(long FileSize)
}
WriteVerbose("Resized " + this.LocalFilePath + " from " + sizeBefore + " bytes to " + FullFileSize + " bytes.");
this.LocalFilePath = new FileInfo(this.LocalFilePath.FullName);
ConvertedResized = true;
FixedSize = FullFileSize;
}
}
Expand Down

0 comments on commit 1464d50

Please sign in to comment.