Commit abb6b135 by Mario Trangoni

pkg/plugins/plugins.go: remove ineffective break statement.

See,
$ gometalinter --vendor --deadline 10m --disable-all --enable=megacheck ./...
pkg/plugins/plugins.go:124:4:warning: ineffective break statement. Did you mean to break out of the outer loop? (SA4011) (megacheck)
parent 8be4490e
...@@ -121,7 +121,6 @@ func (pm *PluginManager) Run(ctx context.Context) error { ...@@ -121,7 +121,6 @@ func (pm *PluginManager) Run(ctx context.Context) error {
pm.checkForUpdates() pm.checkForUpdates()
case <-ctx.Done(): case <-ctx.Done():
run = false run = false
break
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment