Skip to content

Commit

Permalink
controller: fix coding style
Browse files Browse the repository at this point in the history
Signed-off-by: Snir Sheriber <ssheribe@redhat.com>
  • Loading branch information
snir911 committed Nov 19, 2023
1 parent a49f3ad commit e82521d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions controllers/openshift_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -1962,17 +1962,17 @@ func (r *KataConfigOpenShiftReconciler) resetInProgressCondition() {
func (r *KataConfigOpenShiftReconciler) isInstalling() bool {
cond := r.findInProgressCondition()
if cond == nil {
return false;
return false
}
return cond.Status == corev1.ConditionTrue && cond.Reason == "Installing";
return cond.Status == corev1.ConditionTrue && cond.Reason == "Installing"
}

func (r *KataConfigOpenShiftReconciler) isUpdating() bool {
cond := r.findInProgressCondition()
if cond == nil {
return false;
return false
}
return cond.Status == corev1.ConditionTrue && cond.Reason == "Updating";
return cond.Status == corev1.ConditionTrue && cond.Reason == "Updating"
}

func (r *KataConfigOpenShiftReconciler) createAuthJsonSecret() error {
Expand Down

0 comments on commit e82521d

Please sign in to comment.