Skip to content

Commit b3d7395

Browse files
author
OpenShift Bot
authored
Merge pull request #13038 from smarterclayton/reduce_deps
Merged by openshift-bot
2 parents af7359f + ece0b11 commit b3d7395

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/util/client.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ import (
1919

2020
"github.com/openshift/origin/pkg/client"
2121
configapi "github.com/openshift/origin/pkg/cmd/server/api"
22-
"github.com/openshift/origin/pkg/cmd/server/origin"
2322
cmdutil "github.com/openshift/origin/pkg/cmd/util"
2423
"github.com/openshift/origin/pkg/cmd/util/clientcmd"
2524
"github.com/openshift/origin/pkg/cmd/util/tokencmd"
@@ -98,7 +97,7 @@ func GetScopedClientForUser(adminClient *client.Client, clientConfig restclient.
9897

9998
token := &oauthapi.OAuthAccessToken{
10099
ObjectMeta: kapi.ObjectMeta{Name: fmt.Sprintf("%s-token-plus-some-padding-here-to-make-the-limit-%d", username, rand.Int())},
101-
ClientName: origin.OpenShiftCLIClientID,
100+
ClientName: "openshift-challenging-client",
102101
ExpiresIn: 86400,
103102
Scopes: scopes,
104103
RedirectURI: "https://127.0.0.1:12000/oauth/token/implicit",

0 commit comments

Comments
 (0)