File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -248,7 +248,7 @@ func (r *Storage) ValidateCreate() error {
248
248
}
249
249
}
250
250
251
- if ( authEnabled && r .Spec .OperatorConnection == nil ) || ( ! authEnabled && r . Spec . OperatorConnection != nil ) {
251
+ if authEnabled && r .Spec .OperatorConnection == nil {
252
252
return fmt .Errorf ("field 'spec.operatorConnection' does not satisfy with config option `enforce_user_token_requirement: %t`" , authEnabled )
253
253
}
254
254
@@ -362,7 +362,7 @@ func (r *Storage) ValidateUpdate(old runtime.Object) error {
362
362
}
363
363
}
364
364
365
- if ( authEnabled && r .Spec .OperatorConnection == nil ) || ( ! authEnabled && r . Spec . OperatorConnection != nil ) {
365
+ if authEnabled && r .Spec .OperatorConnection == nil {
366
366
return fmt .Errorf ("field 'spec.operatorConnection' does not align with config option `enforce_user_token_requirement: %t`" , authEnabled )
367
367
}
368
368
Original file line number Diff line number Diff line change @@ -15,10 +15,10 @@ type: application
15
15
# This is the chart version. This version number should be incremented each time you make changes
16
16
# to the chart and its templates, including the app version.
17
17
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18
- version : 0.5.27
18
+ version : 0.5.28
19
19
20
20
# This is the version number of the application being deployed. This version number should be
21
21
# incremented each time you make changes to the application. Versions are not expected to
22
22
# follow Semantic Versioning. They should reflect the version the application is using.
23
23
# It is recommended to use it with quotes.
24
- appVersion : " 0.5.27 "
24
+ appVersion : " 0.5.28 "
You can’t perform that action at this time.
0 commit comments