mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-03 14:54:53 -04:00
fix linter issues (#329)
* fix linter issues * replace fmt with logger Signed-off-by: Fabian Kammel <fk@edgeless.systems> Co-authored-by: Daniel Weiße <66256922+daniel-weisse@users.noreply.github.com>
This commit is contained in:
parent
1859dc1718
commit
985585f578
8 changed files with 41 additions and 16 deletions
|
@ -222,7 +222,7 @@ func (k *KubeWrapper) InitCluster(
|
|||
return nil, fmt.Errorf("failed to setup k8s version ConfigMap: %v", err)
|
||||
}
|
||||
|
||||
k.clusterUtil.FixCilium(nodeName)
|
||||
k.clusterUtil.FixCilium(nodeName, log)
|
||||
|
||||
return k.GetKubeconfig()
|
||||
}
|
||||
|
@ -286,7 +286,7 @@ func (k *KubeWrapper) JoinCluster(ctx context.Context, args *kubeadm.BootstrapTo
|
|||
return fmt.Errorf("joining cluster: %v; %w ", string(joinConfigYAML), err)
|
||||
}
|
||||
|
||||
k.clusterUtil.FixCilium(nodeName)
|
||||
k.clusterUtil.FixCilium(nodeName, log)
|
||||
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue