Skip to content

Commit

Permalink
fix a var-name issue
Browse files Browse the repository at this point in the history
Signed-off-by: Boyang Lyu <[email protected]>
  • Loading branch information
JackL9u committed Aug 8, 2024
1 parent 002862c commit 419b903
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/http/interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -1042,11 +1042,11 @@ func (c *client) GetGCSafePoint(ctx context.Context) (ListServiceGCSafepoint, er
}

// DeleteGCSafePoint deletes a gc safepoint
func (c *client) DeleteGCSafePoint(ctx context.Context, serviceId string) (string, error) {
func (c *client) DeleteGCSafePoint(ctx context.Context, serviceID string) (string, error) {
var msg string
err := c.request(ctx, newRequestInfo().
WithName(DeleteGCSafePointName).
WithURI(safepoint+"/"+serviceId).
WithURI(safepoint+"/"+serviceID).
WithMethod(http.MethodDelete).
WithResp(&msg))
if err != nil {
Expand Down

0 comments on commit 419b903

Please sign in to comment.