mirror of
https://github.com/hashicorp/vault.git
synced 2026-06-11 01:42:06 -04:00
Merge pull request #1550 from tmaher/token-helper-stat
fix external token helpers
This commit is contained in:
commit
a78e1d8b40
1 changed files with 2 additions and 2 deletions
|
|
@ -30,10 +30,10 @@ func ExternalTokenHelperPath(path string) (string, error) {
|
|||
}
|
||||
|
||||
if _, err := os.Stat(path); err != nil {
|
||||
return path, nil
|
||||
return "", fmt.Errorf("unknown error getting the external helper path")
|
||||
}
|
||||
|
||||
return "", fmt.Errorf("unknown error getting the external helper path")
|
||||
return path, nil
|
||||
}
|
||||
|
||||
// ExternalTokenHelper is the struct that has all the logic for storing and retrieving
|
||||
|
|
|
|||
Loading…
Reference in a new issue