mirror of
https://github.com/hashicorp/vault.git
synced 2026-05-05 20:36:26 +02:00
agent/cache: differentiate open log messages (#13362)
Changes the error output for the second open of the persistent cache file, to differentiate it from the c.UI.Error message for the initial open of the cache file, just to make it easier to tell where a problem occurred.
This commit is contained in:
parent
ad131f242b
commit
9776f82b45
@ -565,7 +565,7 @@ func (c *AgentCommand) Run(args []string) int {
|
||||
AAD: aad,
|
||||
})
|
||||
if err != nil {
|
||||
c.UI.Error(fmt.Sprintf("Error opening persistent cache: %v", err))
|
||||
c.UI.Error(fmt.Sprintf("Error opening persistent cache with wrapper: %v", err))
|
||||
return 1
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user