Skip to content

Commit

Permalink
GOCBC-789: Send using POST instead of POTS in FreezePlan
Browse files Browse the repository at this point in the history
Change-Id: Iec4894fe043d2242a1f65aade3561bb6a24fb0e9
Reviewed-on: http://review.couchbase.org/122167
Reviewed-by: Brett Lawson <brett19@gmail.com>
Tested-by: Charles Dixon <chvckd@gmail.com>
  • Loading branch information
chvck committed Feb 13, 2020
1 parent 80dd23a commit 019953f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cluster_searchindexes.go
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@ func (sm *SearchIndexManager) FreezePlan(indexName string, opts *AllowQueryingSe

return sm.performControlRequest(
span.Context(),
"POTS",
"POST",
fmt.Sprintf("/api/index/%s/planFreezeControl/freeze", indexName),
opts.Timeout,
opts.RetryStrategy)
Expand Down

0 comments on commit 019953f

Please sign in to comment.