Skip to content

Commit

Permalink
Update reconcile->finish naming, inline with create and start
Browse files Browse the repository at this point in the history
  • Loading branch information
brian-groux-hs committed Feb 9, 2022
1 parent ef08572 commit 52a1682
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions controllers/k6_reconcile.go → controllers/k6_finish.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import (
"sigs.k8s.io/controller-runtime/pkg/client"
)

// Reconcile k6 status with job status
func ReconcileJobs(ctx context.Context, log logr.Logger, k6 *v1alpha1.K6, r *K6Reconciler) (ctrl.Result, error) {
// Mark k6 as finished as jobs finish
func FinishJobs(ctx context.Context, log logr.Logger, k6 *v1alpha1.K6, r *K6Reconciler) (ctrl.Result, error) {
selector := labels.SelectorFromSet(map[string]string{
"app": "k6",
"k6_cr": k6.Name,
Expand Down

0 comments on commit 52a1682

Please sign in to comment.