We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6248678 commit 7da6a67Copy full SHA for 7da6a67
instance/authContext.go
@@ -26,9 +26,8 @@ import (
26
)
27
28
func (client *Client) RemoveContext(context string) error {
29
- // this function should be deleted and Unset in viper used instead once
+ // review this function once Unset (or similar) in viper is available
30
// https://github.com/spf13/viper/pull/519
31
- // is merged or similar functionality is added.
32
if context == "" {
33
return fmt.Errorf("context cannot be empty")
34
}
0 commit comments