Refactor authCfg.UsersForHost to not return an error

This commit is contained in:
Sam Coe 2023-12-04 14:52:11 -04:00 committed by William Martin
parent 92a902e453
commit 8cdbc1a8ca
7 changed files with 18 additions and 27 deletions

View file

@ -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) {