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
|
var r Check
|
||||||
err := s.Client.
|
err := s.Client.
|
||||||
PutJSON(u, checkIDPath(id)).
|
PatchJSON(u, checkIDPath(id)).
|
||||||
DecodeJSON(&r).
|
DecodeJSON(&r).
|
||||||
Do(ctx)
|
Do(ctx)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in New Issue