mirror of https://github.com/k3s-io/k3s
![]() 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. |
||
---|---|---|
.. | ||
controller.go | ||
doc.go | ||
generic.go | ||
minion.go | ||
pod.go | ||
scheduler.go | ||
service.go |