-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
client: return empty secrets from nil Secret and zero Watcher values (#…
…114) As a convenience for the caller, rather than having to check both for nil and for an empty value, make the Get and GetString methods return appropriate empty values (nil for []byte, "" for string) on a nil/zero receiver.
- Loading branch information
1 parent
0f9da31
commit 5eb656b
Showing
2 changed files
with
30 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters