Skip to content

Commit

Permalink
address comment
Browse files Browse the repository at this point in the history
  • Loading branch information
huachaohuang committed Feb 22, 2017
1 parent c7ccfd9 commit f6d6b42
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pdctl/command/scheduler.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2016 PingCAP, Inc.
// Copyright 2017 PingCAP, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -149,8 +149,8 @@ func removeSchedulerCommandFunc(cmd *cobra.Command, args []string) {
return
}

prefix := schedulersPrefix + "/" + args[0]
_, err := doRequest(cmd, prefix, http.MethodDelete)
path := schedulersPrefix + "/" + args[0]
_, err := doRequest(cmd, path, http.MethodDelete)
if err != nil {
fmt.Println(err)
return
Expand Down

0 comments on commit f6d6b42

Please sign in to comment.