Skip to content

Commit

Permalink
Merge pull request openshift#16022 from jim-minter/issue16013
Browse files Browse the repository at this point in the history
Automatic merge from submit-queue

resolve `groups "impersonategroup" already exists` error

fixes openshift#16013
  • Loading branch information
openshift-merge-robot authored Aug 29, 2017
2 parents 257ed9b + d1d7320 commit 91d44c5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/extended/templates/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ func createUser(cli *exutil.CLI, name, role string) *userapi.User {
}

func createGroup(cli *exutil.CLI, name, role string) *userapi.Group {
name = cli.Namespace() + "-" + name

group, err := cli.AdminClient().Groups().Create(&userapi.Group{
ObjectMeta: metav1.ObjectMeta{
Name: name,
Expand Down

0 comments on commit 91d44c5

Please sign in to comment.