Skip to content

Commit f44c6a3

Browse files
authored
Update govultr from v3.28.1 to v3.30.0 (#587)
1 parent 47d4421 commit f44c6a3

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

cmd/baremetal/printer.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,8 @@ func (b *BareMetalBandwidthPrinter) Data() [][]string {
196196
for k := range b.Bandwidth.Bandwidth {
197197
data = append(data, []string{
198198
k,
199-
strconv.Itoa(b.Bandwidth.Bandwidth[k].IncomingBytes),
200-
strconv.Itoa(b.Bandwidth.Bandwidth[k].OutgoingBytes),
199+
strconv.FormatInt(b.Bandwidth.Bandwidth[k].IncomingBytes, 10),
200+
strconv.FormatInt(b.Bandwidth.Bandwidth[k].OutgoingBytes, 10),
201201
})
202202
}
203203

cmd/instance/printer.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,8 @@ func (b *BandwidthPrinter) Data() [][]string {
175175
for i := range b.Bandwidth.Bandwidth {
176176
data = append(data, []string{
177177
i,
178-
strconv.Itoa(b.Bandwidth.Bandwidth[i].IncomingBytes),
179-
strconv.Itoa(b.Bandwidth.Bandwidth[i].OutgoingBytes),
178+
strconv.FormatInt(b.Bandwidth.Bandwidth[i].IncomingBytes, 10),
179+
strconv.FormatInt(b.Bandwidth.Bandwidth[i].OutgoingBytes, 10),
180180
})
181181
}
182182

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ go 1.26.0
55
require (
66
github.com/spf13/cobra v1.10.2
77
github.com/spf13/viper v1.21.0
8-
github.com/vultr/govultr/v3 v3.28.1
8+
github.com/vultr/govultr/v3 v3.30.0
99
golang.org/x/oauth2 v0.36.0
1010
gopkg.in/yaml.v3 v3.0.1
1111
)

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu
5858
github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U=
5959
github.com/subosito/gotenv v1.6.0 h1:9NlTDc1FTs4qu0DDq7AEtTPNw6SVm7uBMsUCUjABIf8=
6060
github.com/subosito/gotenv v1.6.0/go.mod h1:Dk4QP5c2W3ibzajGcXpNraDfq2IrhjMIvMSWPKKo0FU=
61-
github.com/vultr/govultr/v3 v3.28.1 h1:KR3LhppYARlBujY7+dcrE7YKL0Yo9qXL+msxykKQrLI=
62-
github.com/vultr/govultr/v3 v3.28.1/go.mod h1:2zyUw9yADQaGwKnwDesmIOlBNLrm7edsCfWHFJpWKf8=
61+
github.com/vultr/govultr/v3 v3.30.0 h1:kTeDJ+5or6g4CQJmD6Kmz4R63B18poNZ8RP87r9LZdg=
62+
github.com/vultr/govultr/v3 v3.30.0/go.mod h1:2zyUw9yADQaGwKnwDesmIOlBNLrm7edsCfWHFJpWKf8=
6363
go.yaml.in/yaml/v3 v3.0.4 h1:tfq32ie2Jv2UxXFdLJdh3jXuOzWiL1fo0bu/FbuKpbc=
6464
go.yaml.in/yaml/v3 v3.0.4/go.mod h1:DhzuOOF2ATzADvBadXxruRBLzYTpT36CKvDb3+aBEFg=
6565
golang.org/x/oauth2 v0.36.0 h1:peZ/1z27fi9hUOFCAZaHyrpWG5lwe0RJEEEeH0ThlIs=

0 commit comments

Comments
 (0)