diff --git a/cmd/s3-gw/app.go b/cmd/s3-gw/app.go index 3e94b42d..14f9b17e 100644 --- a/cmd/s3-gw/app.go +++ b/cmd/s3-gw/app.go @@ -1053,8 +1053,8 @@ func (a *App) updateServers() error { if err := ser.UpdateCert(serverInfo.TLS.CertFile, serverInfo.TLS.KeyFile); err != nil { return fmt.Errorf("failed to update tls certs: %w", err) } - found = true } + found = true } else if unbind := a.updateUnbindServerInfo(serverInfo); unbind { found = true }