Skip to content

Commit

Permalink
hcloud server describe use correct unit for traffic counter (#259)
Browse files Browse the repository at this point in the history
  • Loading branch information
LKaemmerling authored Aug 10, 2020
1 parent c1bd46c commit 290c168
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cli/server_describe.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,9 @@ func serverDescribeText(cli *CLI, server *hcloud.Server) error {
fmt.Printf(" Longitude:\t\t%f\n", server.Datacenter.Location.Longitude)

fmt.Printf("Traffic:\n")
fmt.Printf(" Outgoing:\t%v\n", humanize.Bytes(server.OutgoingTraffic))
fmt.Printf(" Ingoing:\t%v\n", humanize.Bytes(server.IngoingTraffic))
fmt.Printf(" Included:\t%v\n", humanize.Bytes(server.IncludedTraffic))
fmt.Printf(" Outgoing:\t%v\n", humanize.IBytes(server.OutgoingTraffic))
fmt.Printf(" Ingoing:\t%v\n", humanize.IBytes(server.IngoingTraffic))
fmt.Printf(" Included:\t%v\n", humanize.IBytes(server.IncludedTraffic))

if server.BackupWindow != "" {
fmt.Printf("Backup Window:\t%s\n", server.BackupWindow)
Expand Down

0 comments on commit 290c168

Please sign in to comment.