Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix error dir
Browse files Browse the repository at this point in the history
JameKeal committed Sep 25, 2023

Unverified

This user has not yet uploaded their public signing key.
1 parent 1c45eef commit 38babb1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions hack/make-rules/add_controller.sh
Original file line number Diff line number Diff line change
@@ -118,7 +118,7 @@ if [ $SCOPE != $SCOPE_NAMESPACE ] && [ $SCOPE != $SCOPE_CLUSTER ]; then
fi

CMD_YURT_MANGER_DIR=${YURT_ROOT}/cmd/yurt-manager
PKG_DIR=${YURT_ROOT}/pkg/yurt-manager
PKG_DIR=${YURT_ROOT}/pkg/yurtmanager
APIS_DIR=${YURT_ROOT}/pkg/apis
CONTROLLER_DIR=${PKG_DIR}/controller
WEBHOOK_DIR=${PKG_DIR}/webhook
@@ -398,7 +398,7 @@ import (
appconfig "github.com/openyurtio/openyurt/cmd/yurt-manager/app/config"
"github.com/openyurtio/openyurt/cmd/yurt-manager/names"
${GROUP}${VERSION} "github.com/openyurtio/openyurt/pkg/apis/${GROUP}/${VERSION}"
"github.com/openyurtio/openyurt/pkg/yurt-manager/controller/${KIND_ALL_LOWER}/config"
"github.com/openyurtio/openyurt/pkg/yurtmanager/controller/${KIND_ALL_LOWER}/config"
)
func init() {
@@ -564,7 +564,7 @@ import (
"sigs.k8s.io/controller-runtime/pkg/client/apiutil"
"sigs.k8s.io/controller-runtime/pkg/webhook"
"github.com/openyurtio/openyurt/pkg/yurt-manager/webhook/util"
"github.com/openyurtio/openyurt/pkg/yurtmanager/webhook/util"
"github.com/openyurtio/openyurt/pkg/apis/${GROUP}/${VERSION}"
)
@@ -671,7 +671,7 @@ function build_options() {
$(create_header options)
import (
"github.com/openyurtio/openyurt/pkg/yurt-manager/controller/${KIND_ALL_LOWER}/config"
"github.com/openyurtio/openyurt/pkg/yurtmanager/controller/${KIND_ALL_LOWER}/config"
"github.com/spf13/pflag"
)
@@ -766,8 +766,8 @@ import (
"sigs.k8s.io/controller-runtime/pkg/client"
"sigs.k8s.io/controller-runtime/pkg/client/apiutil"
"github.com/openyurtio/openyurt/pkg/yurt-manager/webhook/builder"
"github.com/openyurtio/openyurt/pkg/yurt-manager/webhook/util"
"github.com/openyurtio/openyurt/pkg/yurtmanager/webhook/builder"
"github.com/openyurtio/openyurt/pkg/yurtmanager/webhook/util"
"github.com/openyurtio/openyurt/pkg/apis/${GROUP}/${VERSION}"
)

0 comments on commit 38babb1

Please sign in to comment.