Skip to content

Commit

Permalink
Merge pull request #83 from seatgeek/swap-import-order
Browse files Browse the repository at this point in the history
swapped consul to be read pushed before vault entries
  • Loading branch information
druwadi committed May 7, 2020
2 parents 74c3dce + a237619 commit c5d07dc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions command/push.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ func PushAll(cli *cli.Context) error {
return err
}

// Vault
if err := vault.PushAllWithConfig(cli, config); err != nil {
// Consul
if err := consul.PushAllWithConfig(cli, config); err !=nil {
return err
}

// Consul
return consul.PushAllWithConfig(cli, config)
// Vault
return vault.PushAllWithConfig(cli, config)
}

0 comments on commit c5d07dc

Please sign in to comment.