Skip to content

Commit e712991

Browse files
committed
Fix resync interval duration
Commit ee12452 tried to convert ResyncIntv to time.Duration, which it was already, by multiplying this value to time.Second.
1 parent 6cf8a82 commit e712991

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/controller/controller.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ func New(client cache.ListerWatcher, notifier event.Notifier, name string, confi
6868
informer := cache.NewSharedIndexInformer(
6969
lw,
7070
&unstructured.Unstructured{},
71-
config.ResyncIntv*time.Second,
71+
config.ResyncIntv,
7272
cache.Indexers{},
7373
)
7474

0 commit comments

Comments
 (0)