Skip to content

Commit

Permalink
cert: fix redundant else if
Browse files Browse the repository at this point in the history
  • Loading branch information
pschultz committed May 17, 2019
1 parent 146ec88 commit a778dc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cert/vault_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ func getVaultToken(c string) string {
log.Printf("[DEBUG] vault: Successfully fetched token from %s", c)
return token
}
} else if cArray[0] != "file" || cArray[0] != "env" {
} else {
log.Printf("[WARN] vault: vaultfetchtoken not properly set")
}
return token
Expand Down

0 comments on commit a778dc3

Please sign in to comment.