Skip to content

Commit

Permalink
Add int64 to numbers section in api-design doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Dane Harrigan committed Sep 1, 2019
1 parent 863e785 commit 4b7529b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/book/src/cronjob-tutorial/api-design.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ specify this. We can also use the `omitempty` struct tag to mark that
a field should be omitted from serialization when empty.

Fields may use most of the primitive types. Numbers are the exception:
for API compatibility purposes, we accept two forms of numbers: `int32`
for integers, and `resource.Quantity` for decimals.
for API compatibility purposes, we accept three forms of numbers: `int32`
and `int64` for integers, and `resource.Quantity` for decimals.

<details><summary>Hold up, what's a Quantity?</summary>

Expand Down

0 comments on commit 4b7529b

Please sign in to comment.