Skip to content

Commit

Permalink
slack-vitess-r15.0.5: close topoServer after use in vttest
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com>
  • Loading branch information
timvaillancourt committed May 18, 2024
1 parent 3e35d19 commit f69a632
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions go/vt/vttest/topoctl.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ func (ctl *Topoctl) Setup() error {
if err != nil {
return err
}
defer topoServer.Close()

log.Infof("Creating cells if they don't exist in the provided topo server %s %s %s", ctl.TopoImplementation, ctl.TopoGlobalServerAddress, ctl.TopoGlobalRoot)
// Create cells if it doesn't exist to be idempotent. Should work when we share the same topo server across multiple local clusters.
Expand Down

0 comments on commit f69a632

Please sign in to comment.