Refactor authCfg.UsersForHost to not return an error
This commit is contained in:
parent
92a902e453
commit
8cdbc1a8ca
7 changed files with 18 additions and 27 deletions
|
|
@ -25,8 +25,8 @@ func (c tinyConfig) Login(host, username, token, gitProtocol string, encrypt boo
|
|||
return false, nil
|
||||
}
|
||||
|
||||
func (c tinyConfig) UsersForHost(hostname string) ([]string, error) {
|
||||
return nil, nil
|
||||
func (c tinyConfig) UsersForHost(hostname string) []string {
|
||||
return nil
|
||||
}
|
||||
|
||||
func TestLogin_ssh(t *testing.T) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue