Improve error message returned by FindByRepo
Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>
This commit is contained in:
parent
28c5e1b503
commit
72fcd8c87d
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ func (r Remotes) FindByRepo(owner, name string) (*Remote, error) {
|
|||
return rem, nil
|
||||
}
|
||||
}
|
||||
return nil, fmt.Errorf("no matching remote found")
|
||||
return nil, fmt.Errorf("no matching remote found; looking for %s/%s", owner, name)
|
||||
}
|
||||
|
||||
// Filter remotes by given hostnames, maintains original order
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue