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.
This commit is contained in:
parent
f1bc80ca12
commit
099d605aed
3 changed files with 290 additions and 228 deletions
6
testhelpers/helpers.go
Normal file
6
testhelpers/helpers.go
Normal file
|
@ -0,0 +1,6 @@
|
|||
package testhelpers
|
||||
|
||||
// Intp returns a pointer to the given integer value.
|
||||
func Intp(i int) *int {
|
||||
return &i
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue