Skip to content

Commit

Permalink
Updated comments, print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisBQu committed Dec 17, 2024
1 parent 64a999c commit 1313d54
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cli/keyring_list_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,5 @@ func TestKeyringList(t *testing.T) {
extractedKeys = append(extractedKeys, match[1])
}

assert.ElementsMatch(t, keyNames, extractedKeys, "The extracted keys do not match the expected keys.")
assert.ElementsMatch(t, keyNames, extractedKeys, "The listed keys do not match the expected keys.")
}
5 changes: 3 additions & 2 deletions keyring/system.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ func (s *systemKeyring) Delete(user string) error {
}

func (s *systemKeyring) List() ([]string, error) {
// List does not need to be returned here
// This function is a stub
// The OS keyring does not support listing keys
// This function is a stub for now because the Keyring interface requires it
// Currently, the 'defradb keyring list' command uses only fileKeyring
return nil, nil
}

0 comments on commit 1313d54

Please sign in to comment.