Skip to content

Commit dbb93c0

Browse files
committed
tidy: logging
1 parent c1117ce commit dbb93c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/meshnode/bootstrap.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,11 @@ func (s *meshStore) bootstrap(ctx context.Context, opts ConnectOptions) error {
5050
opts.RequestVote = true
5151
if bootstrapped {
5252
// We have data, so the cluster is already bootstrapped.
53-
s.log.Info("Cluster already bootstrapped, attempting to rejoin as voter")
5453
if opts.JoinRoundTripper == nil {
5554
s.log.Info("Cluster already bootstrapped, but we have no join transport. Recovering from storage.")
5655
return s.recoverWireguard(ctx)
5756
}
57+
s.log.Info("Cluster already bootstrapped, attempting to rejoin as voter")
5858
return s.join(ctx, opts)
5959
}
6060
s.log.Debug("Cluster not yet bootstrapped, attempting to bootstrap")

0 commit comments

Comments
 (0)