Skip to content

Commit

Permalink
merge in update for upstream changes #104
Browse files Browse the repository at this point in the history
  • Loading branch information
coryb committed Aug 21, 2017
1 parent abaad56 commit 19d8686
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion jiracli/keyring.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ package jiracli
import "github.com/tmc/keyring"

func keyringGet(user string) (string, error) {
return keyring.Get("go-jira", user)
password, err := keyring.Get("go-jira", user)
if err != nil && err != keyring.ErrNotFound {
return password, err
}
return password, nil
}

func keyringSet(user, passwd string) error {
Expand Down

0 comments on commit 19d8686

Please sign in to comment.