1
0
mirror of https://github.com/docker/docker-credential-helpers.git synced 2026-06-13 16:01:28 +05:30

pass: changed error message returned, if password-store is not initialized

Signed-off-by: eyjhbb@gmail.com <eyjhbb@gmail.com>
This commit is contained in:
eyjhbb@gmail.com
2018-09-24 15:15:24 +02:00
parent d6c1f136e4
commit 9c18f033f7
+1 -1
View File
@@ -49,7 +49,7 @@ func (p Pass) checkInitialized() error {
// We just run a `pass ls`, if it fails then pass is not initialized.
_, err := p.runPassHelper("", "ls")
if err != nil {
return fmt.Errorf("error initializing pass: %v", err)
return fmt.Errorf("pass not initialized: %v", err)
}
passInitialized = true
return nil