mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-07-02 19:15:40 +00:00
API server provider readiness check with echo (#569)
This commit is contained in:
parent
de046c65b0
commit
84f7107a33
@ -58,7 +58,7 @@ func (provider *Provider) TestConnection() error {
|
||||
}
|
||||
|
||||
func (provider *Provider) GetHealthStatus() (*shared.HealthResponse, error) {
|
||||
healthUrl := fmt.Sprintf("%s/status/health", provider.url)
|
||||
healthUrl := fmt.Sprintf("%s/echo", provider.url)
|
||||
if response, err := provider.client.Get(healthUrl); err != nil {
|
||||
return nil, err
|
||||
} else if response.StatusCode > 299 {
|
||||
|
Loading…
Reference in New Issue
Block a user