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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user