Skip to content

Commit

Permalink
Fix resync interval duration
Browse files Browse the repository at this point in the history
Commit ee12452 tried to convert ResyncIntv to time.Duration,
which it was already, by multiplying this value to time.Second.
  • Loading branch information
bpineau committed Apr 20, 2018
1 parent 6cf8a82 commit e712991
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controller/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func New(client cache.ListerWatcher, notifier event.Notifier, name string, confi
informer := cache.NewSharedIndexInformer(
lw,
&unstructured.Unstructured{},
config.ResyncIntv*time.Second,
config.ResyncIntv,
cache.Indexers{},
)

Expand Down

0 comments on commit e712991

Please sign in to comment.