Skip to content

Commit 0599e64

Browse files
committed
fix nit
1 parent 881c2ed commit 0599e64

File tree

1 file changed

+4
-2
lines changed
  • keps/sig-api-machinery/5504-comparable-resource-version

1 file changed

+4
-2
lines changed

keps/sig-api-machinery/5504-comparable-resource-version/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ We propose to extend some of the guarantees that the apiserver uses to the
162162
client as well, particularly the ability to consume the resource version as an
163163
integer, and the ability to compare resource versions to each other for more
164164
than equality. Clients can use the new semantics in order to determine the
165-
relative order of two different resource versions for the same type.
165+
relative order of two different resource versions from the same resource.
166166

167167
## Motivation
168168

@@ -251,7 +251,9 @@ and efficiency, defined as follows:
251251
have no leading 0's, and all characters are 0-9, and return an error
252252
otherwise
253253
2) Compare length of strings, if they are not equal then the one with larger length is greater
254-
3) If they are equal, perform a lexical comparison per character left to right until we hit a different character, at that point comparison between the characters will give us the larger integer
254+
3) If they are equal, perform a lexical comparison per character left to right
255+
until we hit a different character, at that point comparison between the
256+
characters will give us the larger integer
255257

256258
By doing it via lexical comparison we do not impose a restriction on resource
257259
version sizing and is more efficient than [bigint

0 commit comments

Comments
 (0)