Skip to content

Commit

Permalink
fix typo in retry count
Browse files Browse the repository at this point in the history
Signed-off-by: Avinash Patnala <avinashpatnala@google.com>
  • Loading branch information
Avinash Patnala committed Sep 19, 2024
1 parent c9df2a9 commit a240878
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion pkg/controller/config/config_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"golang.org/x/net/context"

v1 "k8s.io/api/core/v1"
apierrors "k8s.io/apimachinery/pkg/api/errors"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
Expand Down
2 changes: 1 addition & 1 deletion pkg/readiness/ready_tracker_unit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ func Test_ReadyTracker_TryCancelTemplate_No_Retries(t *testing.T) {
wrapLister := WrapFakeClientWithMutex{fakeLister: lister}

rt := newTracker(&wrapLister, false, false, false, false, nil, func() objData {
return objData{retries: 2}
return objData{retries: 0}
})

// Run kicks off all the tracking
Expand Down

0 comments on commit a240878

Please sign in to comment.