Commit 06144cf2 authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

fmt

parent 98a52c29
...@@ -29,7 +29,7 @@ func (p *LibVirtProvider) Process(ui packer.Ui, artifact packer.Artifact, dir st ...@@ -29,7 +29,7 @@ func (p *LibVirtProvider) Process(ui packer.Ui, artifact packer.Artifact, dir st
format := artifact.State("diskType").(string) format := artifact.State("diskType").(string)
origSize := artifact.State("diskSize").(uint64) origSize := artifact.State("diskSize").(uint64)
size := origSize / 1024 // In MB, want GB size := origSize / 1024 // In MB, want GB
if origSize % 1024 > 0 { if origSize%1024 > 0 {
// Make sure we don't make the size smaller // Make sure we don't make the size smaller
size++ size++
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment