mirror of
https://github.com/traefik/traefik.git
synced 2025-05-06 07:53:01 +00:00
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.
7 lines
112 B
Go
7 lines
112 B
Go
package testhelpers
|
|
|
|
// Intp returns a pointer to the given integer value.
|
|
func Intp(i int) *int {
|
|
return &i
|
|
}
|