Skip to content

Commit

Permalink
Change error message to use api_addr
Browse files Browse the repository at this point in the history
  • Loading branch information
calvn committed Dec 5, 2017
1 parent 92d349d commit 8f21e5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helper/pluginutil/tls.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ func VaultPluginTLSProvider(apiTLSConfig *api.TLSConfig) func() (*tls.Config, er

addrRaw := wt.Claims().Get("addr")
if addrRaw == nil {
return nil, errors.New("decoded token does not contain the active node's api_address")
return nil, errors.New("decoded token does not contain the active node's api_addr")
}
vaultAddr, ok := addrRaw.(string)
if !ok {
Expand Down

0 comments on commit 8f21e5c

Please sign in to comment.