()
| 507 | } |
| 508 | |
| 509 | func (c *AuthConfig) DefaultHost() (string, string) { |
| 510 | if c.defaultHostOverride != nil { |
| 511 | return c.defaultHostOverride() |
| 512 | } |
| 513 | return ghauth.DefaultHost() |
| 514 | } |
| 515 | |
| 516 | // SetDefaultHost will override any host resolution and return the given |
| 517 | // host and source for all calls to DefaultHost. Use for testing purposes only. |
nothing calls this directly
no test coverage detected