mirror of
https://github.com/cloudflare/cloudflared.git
synced 2025-05-11 06:36:35 +00:00
TUN-985: Don't display tunnel ID if it's empty string
This commit is contained in:
parent
e2194f9417
commit
f0126d1af2
@ -339,7 +339,9 @@ func RegisterTunnel(ctx context.Context, muxer *h2mux.Muxer, config *TunnelConfi
|
||||
}
|
||||
}
|
||||
|
||||
config.Logger.Info("Tunnel ID: " + registration.TunnelID)
|
||||
if registration.TunnelID != "" {
|
||||
config.Logger.Info("Tunnel ID: " + registration.TunnelID)
|
||||
}
|
||||
config.Logger.Infof("Route propagating, it may take up to 1 minute for your new route to become functional")
|
||||
return nil
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user