Skip to content

Commit 4631c30

Browse files
committed
Correct generateName doc when in conflict
1 parent 3d52702 commit 4631c30

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

contributors/devel/sig-architecture/api-conventions.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -730,11 +730,9 @@ passed). The value of this field will be combined with a unique suffix on the
730730
server if the Name field has not been provided. The provided value must be valid
731731
within the rules for Name, and may be truncated by the length of the suffix
732732
required to make the value unique on the server. If this field is specified, and
733-
Name is not present, the server will NOT return a 409 if the generated name
734-
exists - instead, it will either return 201 Created or 504 with Reason
735-
`ServerTimeout` indicating a unique name could not be found in the time
736-
allotted, and the client should retry (optionally after the time indicated in
737-
the Retry-After header).
733+
Name is not present, the server will return a 409 with Reason `AlreadyExists` if
734+
the generated name exists, and the client should retry (optionally after the time
735+
indicated in the Retry-After header).
738736

739737
## Optional vs. Required
740738

0 commit comments

Comments
 (0)