fix(http): call PATCH endpoint in checks service PathCheck (#18056)
parent
95efdc25df
commit
a8ba8be41d
|
@ -814,7 +814,7 @@ func (s *CheckService) PatchCheck(ctx context.Context, id influxdb.ID, u influxd
|
|||
|
||||
var r Check
|
||||
err := s.Client.
|
||||
PutJSON(u, checkIDPath(id)).
|
||||
PatchJSON(u, checkIDPath(id)).
|
||||
DecodeJSON(&r).
|
||||
Do(ctx)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue