mirror of
https://github.com/rancher/rke.git
synced 2025-09-08 18:39:40 +00:00
Remove dead code
This commit is contained in:
committed by
Alena Prokharchyk
parent
8022b815b3
commit
ad678b6a32
@@ -7,7 +7,7 @@ import (
|
||||
"github.com/rancher/rke/log"
|
||||
"github.com/rancher/rke/pki"
|
||||
"github.com/rancher/rke/util"
|
||||
"github.com/rancher/types/apis/management.cattle.io/v3"
|
||||
v3 "github.com/rancher/types/apis/management.cattle.io/v3"
|
||||
"golang.org/x/sync/errgroup"
|
||||
)
|
||||
|
||||
@@ -149,11 +149,3 @@ func doDeployWorkerPlane(ctx context.Context, host *hosts.Host,
|
||||
}
|
||||
return runKubeproxy(ctx, host, localConnDialerFactory, prsMap, processMap[KubeproxyContainerName], alpineImage)
|
||||
}
|
||||
|
||||
func copyProcessMap(m map[string]v3.Process) map[string]v3.Process {
|
||||
c := make(map[string]v3.Process)
|
||||
for k, v := range m {
|
||||
c[k] = v
|
||||
}
|
||||
return c
|
||||
}
|
||||
|
Reference in New Issue
Block a user