mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 03:27:54 +00:00
Fix a few vet warnings (#5674)
This commit is contained in:
@@ -184,6 +184,7 @@ func (c *OperatorMigrateCommand) migrate(config *migratorConfig) error {
|
||||
|
||||
select {
|
||||
case err := <-doneCh:
|
||||
cancelFunc()
|
||||
return err
|
||||
case <-c.ShutdownCh:
|
||||
c.UI.Output("==> Migration shutdown triggered\n")
|
||||
@@ -191,7 +192,6 @@ func (c *OperatorMigrateCommand) migrate(config *migratorConfig) error {
|
||||
<-doneCh
|
||||
return errAbort
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// migrateAll copies all keys in lexicographic order.
|
||||
|
||||
Reference in New Issue
Block a user