Skip to content

Commit

Permalink
update this comment
Browse files Browse the repository at this point in the history
  • Loading branch information
sgsullivan committed Feb 27, 2020
1 parent 6248678 commit 7da6a67
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions instance/authContext.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,8 @@ import (
)

func (client *Client) RemoveContext(context string) error {
// this function should be deleted and Unset in viper used instead once
// review this function once Unset (or similar) in viper is available
// https://github.com/spf13/viper/pull/519
// is merged or similar functionality is added.
if context == "" {
return fmt.Errorf("context cannot be empty")
}
Expand Down

0 comments on commit 7da6a67

Please sign in to comment.