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:
|
// Note about BinarySI:
|
||||||
// * If q.Format is set to BinarySI and q.Amount represents a non-zero value between
|
// * 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.
|
// -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.)
|
// rounded up. (1.1i becomes 2i.)
|
||||||
func (q *Quantity) CanonicalizeBytes(out []byte) (result, suffix []byte) {
|
func (q *Quantity) CanonicalizeBytes(out []byte) (result, suffix []byte) {
|
||||||
if q.IsZero() {
|
if q.IsZero() {
|
||||||
|
|
Loading…
Reference in New Issue