mirror of
https://github.com/kemko/nomad.git
synced 2026-01-07 10:55:42 +03:00
Name const after what it represents
This commit is contained in:
@@ -789,8 +789,8 @@ OUTER:
|
||||
return
|
||||
}
|
||||
case structs.VaultChangeModeRestart:
|
||||
const failure = false
|
||||
r.Restart("vault", "new Vault token acquired", failure)
|
||||
const noFailure = false
|
||||
r.Restart("vault", "new Vault token acquired", noFailure)
|
||||
case structs.VaultChangeModeNoop:
|
||||
fallthrough
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user