mirror of https://github.com/k3s-io/k3s
fix typo
parent
b80af5d4e4
commit
47a1072ad5
|
@ -415,7 +415,7 @@ func (_ Quantity) OpenAPIDefinition() openapi.OpenAPIDefinition {
|
|||
// Note about BinarySI:
|
||||
// * If q.Format is set to BinarySI and q.Amount represents a non-zero value between
|
||||
// -1 and +1, it will be emitted as if q.Format were DecimalSI.
|
||||
// * Otherwise, if q.Format is set to BinarySI, frational parts of q.Amount will be
|
||||
// * Otherwise, if q.Format is set to BinarySI, fractional parts of q.Amount will be
|
||||
// rounded up. (1.1i becomes 2i.)
|
||||
func (q *Quantity) CanonicalizeBytes(out []byte) (result, suffix []byte) {
|
||||
if q.IsZero() {
|
||||
|
|
Loading…
Reference in New Issue