mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 03:27:54 +00:00
Errwrap everywhere (#4252)
* package api * package builtin/credential * package builtin/logical * package command * package helper * package http and logical * package physical * package shamir * package vault * package vault * address feedback * more fixes
This commit is contained in:
@@ -23,7 +23,7 @@ type InternalTokenHelper struct {
|
||||
func (i *InternalTokenHelper) populateTokenPath() {
|
||||
homePath, err := homedir.Dir()
|
||||
if err != nil {
|
||||
panic(fmt.Errorf("error getting user's home directory: %v", err))
|
||||
panic(fmt.Sprintf("error getting user's home directory: %v", err))
|
||||
}
|
||||
i.tokenPath = homePath + "/.vault-token"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user