File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -241,7 +241,7 @@ func (r *Storage) ValidateCreate() error {
241241 }
242242 }
243243
244- if ( authEnabled && r .Spec .OperatorConnection == nil ) {
244+ if authEnabled && r .Spec .OperatorConnection == nil {
245245 return fmt .Errorf ("field 'spec.operatorConnection' does not satisfy with config option `enforce_user_token_requirement: %t`" , authEnabled )
246246 }
247247
@@ -355,7 +355,7 @@ func (r *Storage) ValidateUpdate(old runtime.Object) error {
355355 }
356356 }
357357
358- if ( authEnabled && r .Spec .OperatorConnection == nil ) {
358+ if authEnabled && r .Spec .OperatorConnection == nil {
359359 return fmt .Errorf ("field 'spec.operatorConnection' does not align with config option `enforce_user_token_requirement: %t`" , authEnabled )
360360 }
361361
You can’t perform that action at this time.
0 commit comments