Missing Backend key in configuration when application has no tasks
This commit is contained in:
parent
d3c7681bc5
commit
02035d4942
2 changed files with 4 additions and 1 deletions
|
@ -93,7 +93,9 @@ func TestMarathonLoadConfigNonAPIErrors(t *testing.T) {
|
|||
},
|
||||
},
|
||||
},
|
||||
expectedBackends: nil,
|
||||
expectedBackends: map[string]*types.Backend{
|
||||
"backend-app": {},
|
||||
},
|
||||
},
|
||||
{
|
||||
desc: "load balancer / circuit breaker labels",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue