File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ go 1.26.0
55require (
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)
Original file line number Diff line number Diff line change @@ -58,8 +58,8 @@ github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu
5858github.com/stretchr/testify v1.11.1 /go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U =
5959github.com/subosito/gotenv v1.6.0 h1:9NlTDc1FTs4qu0DDq7AEtTPNw6SVm7uBMsUCUjABIf8 =
6060github.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 =
6363go.yaml.in/yaml/v3 v3.0.4 h1:tfq32ie2Jv2UxXFdLJdh3jXuOzWiL1fo0bu/FbuKpbc =
6464go.yaml.in/yaml/v3 v3.0.4 /go.mod h1:DhzuOOF2ATzADvBadXxruRBLzYTpT36CKvDb3+aBEFg =
6565golang.org/x/oauth2 v0.36.0 h1:peZ/1z27fi9hUOFCAZaHyrpWG5lwe0RJEEEeH0ThlIs =
You can’t perform that action at this time.
0 commit comments