nextPort returns the next port based on the initial global value.
()
| 504 | |
| 505 | // nextPort returns the next port based on the initial global value. |
| 506 | func (c *portConfig) nextPort() int { |
| 507 | p := c.global |
| 508 | c.global++ |
| 509 | return p |
| 510 | } |
| 511 | |
| 512 | func (c *portConfig) nextDBPort(version string) int { |
| 513 | switch { |
no outgoing calls
no test coverage detected