mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 02:15:43 +03:00
Add gosimple linter (#9590)
This commit is contained in:
@@ -161,7 +161,7 @@ func (h *csiPluginSupervisorHook) Poststart(_ context.Context, _ *interfaces.Tas
|
||||
// Deeper fingerprinting of the plugin is implemented by the csimanager.
|
||||
func (h *csiPluginSupervisorHook) ensureSupervisorLoop(ctx context.Context) {
|
||||
h.runningLock.Lock()
|
||||
if h.running == true {
|
||||
if h.running {
|
||||
h.runningLock.Unlock()
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user