Skip to content

Commit

Permalink
happy tests
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Nov 1, 2023
1 parent 5cbf3a5 commit 388c7a4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions pkg/comp-functions/functions/vshnminio/minio_deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,6 @@ func createSliBucket(ctx context.Context, comp *vshnv1.VSHNMinio, xminioName str
},
},
}
return iof.Desired.PutIntoObject(ctx, obj, comp.Name+"-vshn-test-bucket-for-sli")
return iof.Desired.PutWithResourceName(ctx, obj, comp.Name+"-vshn-test-bucket-for-sli")
//return iof.Desired.PutIntoObject(ctx, obj, comp.Name+"-vshn-test-bucket-for-sli")
}
4 changes: 1 addition & 3 deletions pkg/sliexporter/vshnminio_controller/vshnminio_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,7 @@ func (r *VSHNMinioReconciler) Reconcile(ctx context.Context, req ctrl.Request) (
}

l.Info("Starting Probe")
// if probe == nil {
// return ctrl.Result{}, fmt.Errorf("probe for VSHNMinio is nil, something went wrong")
// }

r.ProbeManager.StartProbe(probe)
return res, nil

Expand Down

0 comments on commit 388c7a4

Please sign in to comment.