Skip to content

Commit f5589b1

Browse files
committed
keychain/windows: map error on delete
Signed-off-by: Alano Terblanche <18033717+Benehiko@users.noreply.github.com>
1 parent 1f57153 commit f5589b1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

store/keychain/keychain_windows.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ func (k *keychainStore[T]) Delete(ctx context.Context, id store.ID) error {
3737

3838
err = g.Delete()
3939
if err != nil && !errors.Is(err, wincred.ErrElementNotFound) {
40-
return err
40+
return mapWindowsCredentialError(err)
4141
}
4242
return nil
4343
}

0 commit comments

Comments
 (0)