Change healthcheck status code to 204
Change-Id: I4e18c07eb98ead52f9ef71b3c65325ed13ce2934 Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
This commit is contained in:
parent
ecc7b61434
commit
37c26294f0
2
main.go
2
main.go
@ -23,7 +23,7 @@ import (
|
||||
|
||||
func main() {
|
||||
if err := cmd.NewArmadaCommand(os.Stdout).Execute(); err != nil {
|
||||
fmt.Fprintln(os.Stderr, err)
|
||||
_, _ = fmt.Fprintln(os.Stderr, err)
|
||||
os.Exit(1)
|
||||
}
|
||||
}
|
||||
|
@ -130,7 +130,7 @@ func Releases(c *gin.Context) {
|
||||
}
|
||||
|
||||
func Health(c *gin.Context) {
|
||||
c.String(http.StatusOK, "OK")
|
||||
c.String(http.StatusNoContent, "OK")
|
||||
}
|
||||
|
||||
// RunE runs the phase
|
||||
|
Loading…
x
Reference in New Issue
Block a user