feat: add dismissed property to the healthcheck section (#10940)

This commit is contained in:
Marcin Tojek
2023-11-29 16:37:40 +00:00
committed by GitHub
parent d374becdeb
commit 2b574e2b2d
19 changed files with 225 additions and 38 deletions
+1
View File
@@ -35,6 +35,7 @@ func (c *Client) PutHealthSettings(ctx context.Context, settings HealthSettings)
return err
}
defer res.Body.Close()
if res.StatusCode == http.StatusNotModified {
return xerrors.New("health settings not modified")
}