diff --git a/pkg/ctrlmgr/controllers/binding/common.go b/pkg/ctrlmgr/controllers/binding/common.go index 5fe8fad4..d92d8821 100644 --- a/pkg/ctrlmgr/controllers/binding/common.go +++ b/pkg/ctrlmgr/controllers/binding/common.go @@ -19,10 +19,10 @@ package binding import ( "context" "fmt" - "github.com/kubecube-io/kubecube/pkg/utils/hash" "strings" "github.com/kubecube-io/kubecube/pkg/utils/constants" + "github.com/kubecube-io/kubecube/pkg/utils/hash" rbacv1 "k8s.io/api/rbac/v1" "k8s.io/apimachinery/pkg/types" "k8s.io/client-go/util/retry" diff --git a/pkg/warden/localmgr/controllers/user/helper.go b/pkg/warden/localmgr/controllers/user/helper.go index 3a7c1f68..83847e1d 100644 --- a/pkg/warden/localmgr/controllers/user/helper.go +++ b/pkg/warden/localmgr/controllers/user/helper.go @@ -19,13 +19,13 @@ package controllers import ( "context" "fmt" - "sigs.k8s.io/controller-runtime/pkg/controller/controllerutil" "strings" v1 "github.com/kubecube-io/kubecube/pkg/apis/user/v1" "k8s.io/apimachinery/pkg/types" "k8s.io/client-go/util/retry" "sigs.k8s.io/controller-runtime/pkg/client" + "sigs.k8s.io/controller-runtime/pkg/controller/controllerutil" ) func updateUserStatus(ctx context.Context, cli client.Client, user *v1.User) error {