traefik/testhelpers/helpers.go
Timo Reimann 099d605aed Check for explicitly defined Marathon port first.
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.
2017-04-25 23:18:30 +02:00

7 lines
112 B
Go

package testhelpers
// Intp returns a pointer to the given integer value.
func Intp(i int) *int {
return &i
}