Skip to content

Commit 6083968

Browse files
refacto(compute): display instance type memory using an IEC size instead of an SI size (#818)
1 parent 35752a3 commit 6083968

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@
3131
- test(testscript): add API testscript runner with per-scenario resource lifecycle #804
3232
- test(testscript): make PTY inputs deterministic via event-driven @wait: synchronisation #804
3333

34+
### Breaking changes
35+
36+
- refacto(compute): display instance type memory using an IEC size instead of an SI size #818
37+
38+
3439
## 1.93.0
3540

3641
### Features

cmd/compute/instance_type/instance_type_list.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ func (o *instanceTypeListOutput) ToTable() {
4848
cols = append(
4949
cols,
5050
fmt.Sprint(p.CPUs),
51-
humanize.Bytes(uint64(p.Memory)),
51+
humanize.IBytes(uint64(p.Memory)),
5252
fmt.Sprint(p.Authorized),
5353
)
5454
}

0 commit comments

Comments
 (0)