accept false

pull/507/head
Karolis Rusenas 2020-07-14 10:23:34 +01:00
parent ec42db95a8
commit fc7cfdbc09
1 changed files with 1 additions and 1 deletions

View File

@ -447,7 +447,7 @@ func setupTriggers(ctx context.Context, opts *TriggerOpts) (teardown func()) {
go subManager.Start(ctx)
}
if os.Getenv(EnvTriggerPoll) != "0" {
if os.Getenv(EnvTriggerPoll) != "0" || os.Getenv(EnvTriggerPoll) != "false" {
registryClient := registry.New()
watcher := poll.NewRepositoryWatcher(opts.providers, registryClient)