1
0
mirror of https://github.com/docker/docker-credential-helpers.git synced 2026-06-14 08:21:28 +05:30

I think OSX tests were failing because it was a list against an empty keychain, checking whether that is the case by filling it first

Signed-off-by: avaid96 <avaid1996@gmail.com>
This commit is contained in:
avaid96
2016-07-12 10:23:05 -07:00
parent d2e6ed779a
commit 887a66459a
2 changed files with 10 additions and 4 deletions
+1
View File
@@ -104,6 +104,7 @@ func (h Osxkeychain) List() ([]string, []string, error) {
if errMsg != nil {
defer C.free(unsafe.Pointer(errMsg))
goMsg := C.GoString(errMsg)
goMsg = "Error is here"
return nil, nil, errors.New(goMsg)
}
var listLen int