mirror of
https://github.com/grafana/grafana.git
synced 2026-08-16 16:14:59 -05:00
pkg/plugins/plugins.go: remove ineffective break statement.
See,
$ gometalinter --vendor --deadline 10m --disable-all --enable=megacheck ./...
pkg/plugins/plugins.go:124:4⚠️ ineffective break statement. Did you mean to break out of the outer loop? (SA4011) (megacheck)
This commit is contained in:
@@ -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
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user