mirror of https://github.com/k3s-io/k3s
Fix quantity.CanonicalizeBytes docstring name
parent
ce2d7ab5f7
commit
f05b5cf2c5
|
@ -375,7 +375,7 @@ func ParseQuantity(str string) (Quantity, error) {
|
|||
return Quantity{d: infDecAmount{amount}, Format: format}, nil
|
||||
}
|
||||
|
||||
// Canonicalize returns the canonical form of q and its suffix (see comment on Quantity).
|
||||
// CanonicalizeBytes returns the canonical form of q and its suffix (see comment on Quantity).
|
||||
//
|
||||
// Note about BinarySI:
|
||||
// * If q.Format is set to BinarySI and q.Amount represents a non-zero value between
|
||||
|
|
Loading…
Reference in New Issue