• Clayton Coleman's avatar
    Turn 409 into 500 Try Again Later when using generateName · 1588970e
    Clayton Coleman authored
    If a client says they want the name to be generated, a 409 is
    not appropriate (since they didn't specify a name). Instead, we
    should return the next most appropriate error, which is a 5xx
    error indicating the request failed but the client *should* try
    again.  Since there is no 5xx error that exactly fits this purpose,
    use 500 with StatusReasonTryAgainLater set.
    
    This commit does not implement client retry on TryAgainLater, but
    clients should retry up to a certain number of times.
    1588970e
Name
Last commit
Last update
..
errors Loading commit data...
latest Loading commit data...
meta Loading commit data...
resource Loading commit data...
rest Loading commit data...
testapi Loading commit data...
testing Loading commit data...
v1beta1 Loading commit data...
v1beta2 Loading commit data...
v1beta3 Loading commit data...
validation Loading commit data...
context.go Loading commit data...
context_test.go Loading commit data...
conversion.go Loading commit data...
doc.go Loading commit data...
generate.go Loading commit data...
generate_test.go Loading commit data...
helpers.go Loading commit data...
helpers_test.go Loading commit data...
meta.go Loading commit data...
meta_test.go Loading commit data...
ref.go Loading commit data...
ref_test.go Loading commit data...
register.go Loading commit data...
resource_helpers.go Loading commit data...
resource_helpers_test.go Loading commit data...
serialization_test.go Loading commit data...
types.go Loading commit data...
unversioned.go Loading commit data...