Skip to content

Commit

Permalink
Moved SetupOwner to ExtractParams
Browse files Browse the repository at this point in the history
Signed-off-by: hbelmiro <[email protected]>
  • Loading branch information
hbelmiro committed Apr 23, 2024
1 parent 31a6956 commit 99acf3e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions controllers/dspipeline_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -258,8 +258,6 @@ func (r *DSPAReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.
dspaPrereqsReady := dbAvailable && objStoreAvailable

if dspaPrereqsReady {
params.SetupOwner(dspa)

// Manage Common Manifests
err = r.ReconcileCommon(dspa, params)
if err != nil {
Expand Down
2 changes: 2 additions & 0 deletions controllers/dspipeline_params.go
Original file line number Diff line number Diff line change
Expand Up @@ -816,5 +816,7 @@ func (p *DSPAParams) ExtractParams(ctx context.Context, dsp *dspa.DataSciencePip
return err
}

p.SetupOwner(dsp)

return nil
}

0 comments on commit 99acf3e

Please sign in to comment.