Skip to content

Commit 270bc79

Browse files
author
OpenShift Bot
authored
Merge pull request #14538 from jim-minter/bz1460145
Merged by openshift-bot
2 parents 7f9567a + fc4b2c6 commit 270bc79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/template/registry/templateinstance/strategy.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ func (s *templateInstanceStrategy) validateImpersonation(templateInstance *templ
136136
Group: templateapi.GroupName,
137137
Resource: "templateinstances",
138138
}); err != nil {
139-
return field.ErrorList{field.Forbidden(field.NewPath("spec.requester.username"), fmt.Sprintf("impersonation forbidden: %v", err))}
139+
return field.ErrorList{field.Forbidden(field.NewPath("spec.requester.username"), "you do not have permission to set username")}
140140
}
141141
}
142142

0 commit comments

Comments
 (0)