mirror of
https://github.com/Control-D-Inc/ctrld.git
synced 2026-05-15 00:50:25 +02:00
transport should try ipv4 then ipv6 explicitly
client list panic guards and debug logging
This commit is contained in:
+2
-1
@@ -1273,7 +1273,8 @@ func initUpgradeCmd() *cobra.Command {
|
||||
}
|
||||
dlUrl := upgradeUrl(baseUrl)
|
||||
mainLog.Load().Debug().Msgf("Downloading binary: %s", dlUrl)
|
||||
resp, err := http.Get(dlUrl)
|
||||
|
||||
resp, err := getWithRetry(dlUrl)
|
||||
if err != nil {
|
||||
mainLog.Load().Fatal().Err(err).Msg("failed to download binary")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user