Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
3pointer committed May 9, 2022
1 parent 30c234b commit 1bf623d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion br/pkg/pdutil/pd.go
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ func (p *PdController) getStoreInfoWith(

func (p *PdController) doPauseSchedulers(ctx context.Context, schedulers []string, post pdHTTPRequest) ([]string, error) {
// pause this scheduler with 300 seconds
body, err := json.Marshal(pauseSchedulerBody{Delay: int64(getPauseTimeout().Seconds())})
body, err := json.Marshal(pauseSchedulerBody{Delay: int64(getPauseTimeout().Seconds())})
if err != nil {
return nil, errors.Trace(err)
}
Expand Down

0 comments on commit 1bf623d

Please sign in to comment.