mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: add dismissed property to the healthcheck section (#10940)
This commit is contained in:
@@ -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")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user