mirror of
https://github.com/YuzuZensai/netbird-kubernetes-operator.git
synced 2026-09-13 10:49:15 +00:00
Update Golang CI Lint to the latest version (#113)
This change updates Golang CI Lint to the latest version and fixes new linter errors that came along with the update. These changes were split out of #112 and are required to update the Go version.
This commit is contained in:
+1
-2
@@ -42,7 +42,6 @@ import (
|
||||
|
||||
netbirdiov1 "github.com/netbirdio/kubernetes-operator/api/v1"
|
||||
"github.com/netbirdio/kubernetes-operator/internal/controller"
|
||||
webhookk8siov1 "github.com/netbirdio/kubernetes-operator/internal/webhook/v1"
|
||||
webhooknetbirdiov1 "github.com/netbirdio/kubernetes-operator/internal/webhook/v1"
|
||||
// +kubebuilder:scaffold:imports
|
||||
)
|
||||
@@ -215,7 +214,7 @@ func main() {
|
||||
}
|
||||
|
||||
if enableWebhooks {
|
||||
if err = webhookk8siov1.SetupPodWebhookWithManager(mgr, managementURL, clientImage); err != nil {
|
||||
if err = webhooknetbirdiov1.SetupPodWebhookWithManager(mgr, managementURL, clientImage); err != nil {
|
||||
setupLog.Error(err, "unable to create webhook", "webhook", "Pod")
|
||||
os.Exit(1)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user