Skip to content

Fix No serializer found for class com.githubdockerjava.api.model.ServiceGlobalModeOptions #1090#1091

Merged
KostyaSha merged 1 commit intodocker-java:masterfrom
andrzejszywala:master
Nov 25, 2018
Merged

Fix No serializer found for class com.githubdockerjava.api.model.ServiceGlobalModeOptions #1090#1091
KostyaSha merged 1 commit intodocker-java:masterfrom
andrzejszywala:master

Conversation

@andrzejszywala
Copy link
Copy Markdown

@andrzejszywala andrzejszywala commented Aug 29, 2018

closes #1090

This change is Reviewable

…dockerjava.api.model.ServiceGlobalModeOptions #1090
@KostyaSha
Copy link
Copy Markdown
Member

Would it fix if constructor will exist?

@andrzejszywala
Copy link
Copy Markdown
Author

No, because by default jackson it is looking for getter/setter pairs. ServiceGlobalModeOptions doesn't have any properties so this exception happens

@KostyaSha
Copy link
Copy Markdown
Member

I doesn't see that such options exists in api at all.

@KostyaSha KostyaSha added this to the 3.1.0-rc-6 milestone Nov 25, 2018
@KostyaSha KostyaSha merged commit 906df7c into docker-java:master Nov 25, 2018
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.

InvalidDefinitionException: No serializer found for class com.github.dockerjava.api.model.ServiceGlobalModeOptions

2 participants