mirror of
https://github.com/Luzifer/mercedes-byocar-exporter.git
synced 2024-11-08 14:00:09 +00:00
Fix: Don't error when Vault role-id auth is supported
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
fcc21cfb75
commit
3bd447261f
1 changed files with 1 additions and 0 deletions
|
@ -148,6 +148,7 @@ func (v VaultStore) authorizeVault() error {
|
|||
}
|
||||
|
||||
v.client.SetToken(loginSecret.Auth.ClientToken)
|
||||
return nil
|
||||
}
|
||||
|
||||
if token := os.Getenv(api.EnvVaultToken); token != "" {
|
||||
|
|
Loading…
Reference in a new issue