Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
3pointer committed Nov 10, 2020
1 parent 24f2d24 commit 99692eb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/pdutil/pd.go
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ func (p *PdController) UpdatePDScheduleConfig(
ctx context.Context, cfg map[string]interface{}, prefixs ...string,
) error {
prefix := scheduleConfigPrefix
if len(prefixs) == 0 {
if len(prefixs) != 0 {
prefix = prefixs[0]
}
for _, addr := range p.addrs {
Expand Down Expand Up @@ -559,3 +559,4 @@ func (p *PdController) Close() {
p.pdClient.Close()
close(p.schedulerPauseCh)
}

0 comments on commit 99692eb

Please sign in to comment.