Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
moelsayed committed Mar 19, 2021
1 parent 4bf34be commit 66048aa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1189,6 +1189,7 @@ k8s.io/apimachinery v0.19.4/go.mod h1:DnPGDnARWFvYa3pMHgSxtbZb7gpzzAZ1pTfaUNDVlm
k8s.io/apiserver v0.0.0-20190918160949-bfa5e2e684ad/go.mod h1:XPCXEwhjaFN29a8NldXA901ElnKeKLrLtREO9ZhFyhg=
k8s.io/apiserver v0.16.4/go.mod h1:kbLJOak655g6W7C+muqu1F76u9wnEycfKMqbVaXIdAc=
k8s.io/apiserver v0.19.2/go.mod h1:FreAq0bJ2vtZFj9Ago/X0oNGC51GfubKK/ViOKfVAOA=
k8s.io/apiserver v0.19.4 h1:X40UuyVt6DcYWIh2olcePkyKO0LRJFvxWC0kLxYvkZU=
k8s.io/apiserver v0.19.4/go.mod h1:X8WRHCR1UGZDd7HpV0QDc1h/6VbbpAeAGyxSh8yzZXw=
k8s.io/client-go v0.19.4 h1:85D3mDNoLF+xqpyE9Dh/OtrJDyJrSRKkHmDXIbEzer8=
k8s.io/client-go v0.19.4/go.mod h1:ZrEy7+wj9PjH5VMBCuu/BDlvtUAku0oVFk4MmnW9mWA=
Expand Down
4 changes: 2 additions & 2 deletions pkg/cmd/apply.go
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,8 @@ func runApply(opts *applyOpts) error {

if !s.LiveCluster.Healthy() {
if opts.RotateEncryptionKey {
s.Logger.Errorln("Cluster is not healthy, encryption key rotation is not supported.")
return errors.New("Cluster is not healthy, encryption key rotation is not supported.")
s.Logger.Errorln("cluster is not healthy, encryption key rotation is not supported")
return errors.New("cluster is not healthy, encryption key rotation is not supported")
}

brokenHosts := s.LiveCluster.BrokenHosts()
Expand Down
1 change: 0 additions & 1 deletion pkg/features/encryption_providers.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,5 @@ func activateEncryptionProviders(feature *kubeoneapi.EncryptionProviders, args *
args.APIServer.ExtraArgs[apiServerEncryptionProviderFlag] = apiServerEncryptionProviderConfigPath
} else {
args.APIServer.ExtraArgs[apiServerEncryptionProviderFlag] = apiServerEncryptionProviderCustomConfigPath

}
}

0 comments on commit 66048aa

Please sign in to comment.