Support placement preferences in stack deployment
Move of moby/moby#32743 Signed-off-by: Li Yi <denverdino@gmail.com>
This commit is contained in:
@ -673,6 +673,11 @@ func TestFullExample(t *testing.T) {
|
||||
},
|
||||
Placement: types.Placement{
|
||||
Constraints: []string{"node=foo"},
|
||||
Preferences: []types.PlacementPreferences{
|
||||
{
|
||||
Spread: "node.labels.az",
|
||||
},
|
||||
},
|
||||
},
|
||||
EndpointMode: "dnsrr",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user