Skip to content

Commit

Permalink
Return error if one occurs during CDB creation
Browse files Browse the repository at this point in the history
Change-Id: I924876cc680330a6917fc30ae6daba37138a0ea4
  • Loading branch information
akinfermo committed Feb 7, 2023
1 parent 2250f49 commit 6476114
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions oracle/controllers/instancecontroller/instance_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,9 @@ func (r *InstanceReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_

result, err := r.reconcileDatabaseInstance(ctx, &inst, r.Log, images)
log.Info("reconciling database instance: DONE", "result", result, "err", err)
if err != nil {
return result, err
}

return result, nil
}
Expand Down

0 comments on commit 6476114

Please sign in to comment.