diff options
Diffstat (limited to 'plugins/http/plugin.go')
-rw-r--r-- | plugins/http/plugin.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/http/plugin.go b/plugins/http/plugin.go index 13a76329..86fcb329 100644 --- a/plugins/http/plugin.go +++ b/plugins/http/plugin.go @@ -405,7 +405,7 @@ func (s *Plugin) Status() status.Status { } // if there are no workers, threat this as error return status.Status{ - Code: http.StatusNoContent, + Code: http.StatusServiceUnavailable, } } @@ -423,7 +423,7 @@ func (s *Plugin) Ready() status.Status { } // if there are no workers, threat this as no content error return status.Status{ - Code: http.StatusNoContent, + Code: http.StatusServiceUnavailable, } } |