Skip to content

Commit

Permalink
http: fix scatter table (#11281) (#11298)
Browse files Browse the repository at this point in the history
  • Loading branch information
sre-bot authored and zz-jason committed Jul 30, 2019
1 parent 0d2ea4b commit 40ef5e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/http_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -844,8 +844,8 @@ func (h tableHandler) addScatterSchedule(startKey, endKey []byte, name string) e
}
input := map[string]string{
"name": "scatter-range",
"start_key": string(startKey),
"end_key": string(endKey),
"start_key": url.QueryEscape(string(startKey)),
"end_key": url.QueryEscape(string(endKey)),
"range_name": name,
}
v, err := json.Marshal(input)
Expand Down

0 comments on commit 40ef5e1

Please sign in to comment.