fix(http): call PATCH endpoint in checks service PathCheck (#18056)

pull/18062/head
George 2020-05-12 19:15:37 +01:00 committed by GitHub
parent 95efdc25df
commit a8ba8be41d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 {