Skip to content

Commit 43069ef

Browse files
Ihar HrachyshkaIhar Hrachyshka
authored andcommitted
Fixed comment to refer to the right int accessor for Quantity
It's AsInt64() not Int64().
1 parent 47214d6 commit 43069ef

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

api/openapi-spec/swagger.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

staging/src/k8s.io/apimachinery/pkg/api/resource/generated.proto

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import (
2929

3030
// Quantity is a fixed-point representation of a number.
3131
// It provides convenient marshaling/unmarshaling in JSON and YAML,
32-
// in addition to String() and Int64() accessors.
32+
// in addition to String() and AsInt64() accessors.
3333
//
3434
// The serialization format is:
3535
//

0 commit comments

Comments
 (0)