Skip to content

Commit

Permalink
Merge #113707
Browse files Browse the repository at this point in the history
113707: democluster: use correct format directive for server index r=yuzefovich a=yuzefovich

Epic: None

Release note: None

Co-authored-by: Yahor Yuzefovich <yahor@cockroachlabs.com>
  • Loading branch information
craig[bot] and yuzefovich committed Nov 2, 2023
2 parents 299f41e + e99ae20 commit 0045f69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cli/democluster/demo_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -818,7 +818,7 @@ func (c *transientCluster) waitForSQLReadiness(
case <-ctx.Done():
return errors.CombineErrors(errors.Newf("context cancellation while waiting for server %d to become ready", idx), ctx.Err())
case <-c.servers[idx].Stopper().ShouldQuiesce():
return errors.Newf("server %s shut down prematurely", idx)
return errors.Newf("server %d shut down prematurely", idx)
case <-c.stopper.ShouldQuiesce():
return errors.Newf("demo cluster shut down prematurely while waiting for server %d to become ready", idx)
default:
Expand Down

0 comments on commit 0045f69

Please sign in to comment.