Skip to content

Commit

Permalink
Merge pull request #15 from skilld-labs/updatingloginerrormessage
Browse files Browse the repository at this point in the history
Update error string when publish credentials not found in keyring
  • Loading branch information
davidferlay authored Apr 29, 2024
2 parents 0b8c87e + c492e88 commit d4f6380
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ func getCredentials(url, username, password string, k keyring.Keyring) (keyring.
return ci, false, err
} else if errors.Is(err, keyring.ErrNotFound) {
cli.Println("Keyring was unlocked or created successfully: publish credentials were not found")
return ci, false, errors.New("execute 'plasmactl login' to set 'https://repositories.skilld.cloud' credentials to keyring")
return ci, false, errors.New("execute 'plasmactl login --url=https://repositories.skilld.cloud' to add credentials to keyring")
} else if !errors.Is(err, keyring.ErrNotFound) {
log.Debug("%s", err)
return ci, false, errors.New("the keyring is malformed or wrong passphrase provided")
Expand Down

0 comments on commit d4f6380

Please sign in to comment.