Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MGMT-13132: Respond with 409 when rejecting registration (#4858)
Currently when an agent tries to register while the cluster is installing the service will return a 400 response code. As a result the agent will retry the request after one minute. To avoid that this patch changes the response code to 409, which will cause the agent to freeze. Related: https://issues.redhat.com/browse/MGMT-13132 Signed-off-by: Juan Hernandez <juan.hernandez@redhat.com> Signed-off-by: Juan Hernandez <juan.hernandez@redhat.com>
- Loading branch information
Showing
3 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters