mirror of
https://github.com/rancher/rke.git
synced 2025-09-19 01:44:28 +00:00
Use golangci-lint v0.40.1
This commit is contained in:
@@ -107,10 +107,7 @@ func DeployStateOnPlaneHost(ctx context.Context, host *hosts.Host, stateDownload
|
||||
return err
|
||||
}
|
||||
|
||||
if err := docker.DoRemoveContainer(ctx, host.DClient, StateDeployerContainerName, host.Address); err != nil {
|
||||
return err
|
||||
}
|
||||
return nil
|
||||
return docker.DoRemoveContainer(ctx, host.DClient, StateDeployerContainerName, host.Address)
|
||||
}
|
||||
|
||||
func doRunDeployer(ctx context.Context, host *hosts.Host, containerEnv []string, certDownloaderImage string, prsMap map[string]v3.PrivateRegistry) error {
|
||||
|
Reference in New Issue
Block a user