mirror of
https://github.com/stakater/Reloader.git
synced 2026-08-20 12:36:26 +00:00
fixed lint
This commit is contained in:
@@ -41,7 +41,7 @@ func createEventPredicate(cfg *config.Config, startTime time.Time) predicate.Pre
|
||||
// an older creation timestamp and must not trigger reloads on
|
||||
// startup, but a genuine create that arrives afterwards must be
|
||||
// honored even if it is the very first event this controller sees.
|
||||
return e.Object.GetCreationTimestamp().Time.After(startTime)
|
||||
return e.Object.GetCreationTimestamp().After(startTime)
|
||||
},
|
||||
UpdateFunc: func(e event.UpdateEvent) bool {
|
||||
return true
|
||||
|
||||
Reference in New Issue
Block a user