Skip to content

Conversation

@hannseman
Copy link
Contributor

types.services.PlacementPreference currently builds an invalid context.

It will generate the the following context:

{'Preferences': [{'SpreadOver': 'com.dockerpy.test'}]}

The correct one is:

{'Preferences': [{'Spread': {'SpreadDescriptor': 'com.dockerpy.test'}}]}`

@ulyssessouza
Copy link
Contributor

Thank you for the PR @hannseman !
LGTM

Copy link
Member

@chris-crone chris-crone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Thanks @hannseman!

@ulyssessouza ulyssessouza merged commit d7772b7 into docker:master Jan 22, 2019
@shin- shin- added this to the 4.0.0 milestone Mar 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants