()
| 483 | } |
| 484 | |
| 485 | func (c *AuthConfig) DefaultHost() (string, string) { |
| 486 | if c.defaultHostOverride != nil { |
| 487 | return c.defaultHostOverride() |
| 488 | } |
| 489 | return ghauth.DefaultHost() |
| 490 | } |
| 491 | |
| 492 | // SetDefaultHost will override any host resolution and return the given |
| 493 | // host and source for all calls to DefaultHost. Use for testing purposes only. |
nothing calls this directly
no test coverage detected