madrisan / hashicorp-vault-monitor

:key: HashiCorp Vault Monitoring Tool
Mozilla Public License 2.0
24 stars 4 forks source link

Fix a broken initialization of the Vault URL #2

Closed madrisan closed 4 years ago

madrisan commented 4 years ago

The Vault URL was set to the default value, ignoring the value passed at command line.

Fix this issue by ensuring that the command-line value has precedence over the default value and the VAULT_ADDR environment variable.

Signed-off-by: Davide Madrisan davide.madrisan@gmail.com