Skip to content

Commit

Permalink
bump go 1.18 to 1.19 (#94)
Browse files Browse the repository at this point in the history
* go.mod: bump go version from 1.18 to 1.19

* go: lint all go files
  • Loading branch information
lbajolet-hashicorp authored Aug 2, 2023
1 parent 94af251 commit 93e2bc1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/hashicorp/packer-plugin-vagrant

go 1.18
go 1.19

require (
github.com/hashicorp/go-version v1.6.0
Expand Down
14 changes: 7 additions & 7 deletions post-processor/vagrant/libvirt.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ func lower(c byte) byte {
//
// Valid units (case-insensitive):
//
// B (byte) 1B
// K (kilobyte) 1024B
// M (megabyte) 1024K
// G (gigabyte) 1024M
// T (terabyte) 1024G
// P (petabyte) 1024T
// E (exabyte) 1024P
// B (byte) 1B
// K (kilobyte) 1024B
// M (megabyte) 1024K
// G (gigabyte) 1024M
// T (terabyte) 1024G
// P (petabyte) 1024T
// E (exabyte) 1024P
//
// The default is M.
func sizeInMegabytes(size string) uint64 {
Expand Down

0 comments on commit 93e2bc1

Please sign in to comment.