Previously, we did the check too late resulting in the traefik.port label not being effective. The change comes with additional refactorings in production and tests.
6 lines
112 B
Go
6 lines
112 B
Go
package testhelpers
|
|
|
|
// Intp returns a pointer to the given integer value.
|
|
func Intp(i int) *int {
|
|
return &i
|
|
}
|