Skip to content

Commit

Permalink
operator tls review fix: if statement
Browse files Browse the repository at this point in the history
Signed-off-by: Tommy Hughes <[email protected]>
  • Loading branch information
tchughesiv committed Dec 1, 2024
1 parent b72cdac commit 61a0a96
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions infra/feast-operator/internal/controller/services/services.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,14 @@ func (feast *FeastServices) Deploy() error {
if err := feast.ApplyDefaults(); err != nil {
return err
}
if openshiftTls, err := feast.checkOpenshiftTls(); openshiftTls {
openshiftTls, err := feast.checkOpenshiftTls()
if err != nil {
return err
}
if openshiftTls {
if err := feast.createCaConfigMap(); err != nil {
return err
}
} else if err != nil {
return err
} else {
_ = feast.deleteOwnedFeastObj(feast.initCaConfigMap())
}
Expand Down

0 comments on commit 61a0a96

Please sign in to comment.