File tree 2 files changed +8
-8
lines changed
openshift-kube-apiserver/admission/authorization/restrictusers
2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ type WantsUserInformer interface {
16
16
}
17
17
18
18
type localInitializer struct {
19
- userInformer userinformer.SharedInformerFactory
19
+ userInformer userinformer.SharedInformerFactory
20
20
}
21
21
22
22
// Initialize will check the initialization interfaces implemented by each plugin
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ func Register(plugins *admission.Plugins) {
35
35
return nil , err
36
36
}
37
37
38
- return NewRestrictUsersAdmission (cfg )
38
+ return NewRestrictUsersAdmission (cfg )
39
39
})
40
40
}
41
41
@@ -99,12 +99,12 @@ var (
99
99
func NewRestrictUsersAdmission (cfg * v1alpha1.RestrictSubjectBindingsAdmissionConfig ) (admission.Interface , error ) {
100
100
return & restrictUsersAdmission {
101
101
Handler : admission .NewHandler (admission .Create , admission .Update ),
102
- oauthState : func () v1alpha1.OpenShiftOAuthState {
103
- if cfg != nil {
104
- return cfg .OpenShiftOAuthDesiredState
105
- }
106
- return v1alpha1 .OpenShiftOAuthStateDesired
107
- }(),
102
+ oauthState : func () v1alpha1.OpenShiftOAuthState {
103
+ if cfg != nil {
104
+ return cfg .OpenShiftOAuthDesiredState
105
+ }
106
+ return v1alpha1 .OpenShiftOAuthStateDesired
107
+ }(),
108
108
}, nil
109
109
}
110
110
You can’t perform that action at this time.
0 commit comments