Skip to content

Commit e0f1909

Browse files
Merge pull request #20340 from danwinship/oc-admin-fixup
Fix stale references to pkg/oc/admin
2 parents 06a47f0 + 8bf83ae commit e0f1909

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

hack/import-restrictions.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
"github.com/openshift/origin/pkg/cmd/server/apis/config/validation",
8181
"github.com/openshift/origin/pkg/cmd/server/handlers",
8282
"github.com/openshift/origin/pkg/oauth/util",
83-
"github.com/openshift/origin/pkg/oc/admin",
83+
"github.com/openshift/origin/pkg/oc/cli/admin",
8484
"github.com/openshift/origin/pkg/oc/cli/admin/createerrortemplate",
8585
"github.com/openshift/origin/pkg/oc/cli/admin/createlogintemplate",
8686
"github.com/openshift/origin/pkg/oc/cli/admin/createproviderselectiontemplate",
@@ -398,7 +398,7 @@
398398
"github.com/openshift/origin/pkg/oc"
399399
],
400400
"ignoredSubTrees": [
401-
"github.com/openshift/origin/pkg/oc/admin/groups/examples"
401+
"github.com/openshift/origin/pkg/oc/cli/admin/groups/examples"
402402
],
403403
"allowedImportPackageRoots": [
404404
"vendor/github.com/aws/aws-sdk-go",

pkg/authorization/apis/authorization/rbacconversion/conversion.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ var (
2020
)
2121

2222
// reconcileProtectAnnotation is the name of an annotation which prevents reconciliation if set to "true"
23-
// can't use this const in pkg/oc/admin/policy because of import cycle
2423
const reconcileProtectAnnotation = "openshift.io/reconcile-protect"
2524

2625
func addConversionFuncs(scheme *runtime.Scheme) error {

pkg/oc/cli/admin/diagnostics/diagnostics/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ save may be your own.
9494

9595
A diagnostic is an object that conforms to the Diagnostic interface
9696
(see pkg/diagnostics/types/diagnostic.go). The diagnostic object should
97-
be built in one of the builders in the pkg/oc/admin/diagnostics
97+
be built in one of the builders in the pkg/oc/cli/admin/diagnostics
9898
package (based on whether it depends on client, cluster-admin, or host
9999
configuration). When executed, the diagnostic logs its findings into
100100
a result object. It should be assumed that they may run in parallel.

tools/testdebug/cmd/load_etcd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import (
2727
kubernetes "github.com/openshift/origin/pkg/cmd/server/kubernetes/master"
2828
"github.com/openshift/origin/pkg/cmd/server/origin"
2929
"github.com/openshift/origin/pkg/cmd/server/start"
30-
"github.com/openshift/origin/pkg/oc/admin/policy"
30+
"github.com/openshift/origin/pkg/oc/cli/admin/policy"
3131
testutil "github.com/openshift/origin/test/util"
3232
testserver "github.com/openshift/origin/test/util/server"
3333
)

0 commit comments

Comments
 (0)