We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
>>> d nailgun.entities.Domain(dns=None, fullname=None, id=1, name=u'kangae.example.com') >>> a = nailgun.entities.Organization(config, name='fooa', domain=[d], description="bar") >>> a.create_payload() {'domain_ids': [1], 'name': 'fooa', 'description': 'bar'} >>> a.create() nailgun.entities.Organization(domain=[], medium=[], description=u'bar', default_content_view=nailgun.entities.ContentView(id=6), library=nailgun.entities.LifecycleEnvironment(id=3), user=[], id=4, name=u'fooa', subnet=[], title=u'fooa', …)
I would have expected domain to be [1].
domain
[1]
The text was updated successfully, but these errors were encountered:
in production.log, I see the following params passed:
production.log
Parameters: {"domain_ids"=>[1], "name"=>"fooa", "description"=>"bar", "api_version"=>"v2", "organization"=>{"name"=>"fooa", "description"=>"bar"}}
I think domain_ids should be inside organization.
domain_ids
organization
Sorry, something went wrong.
No branches or pull requests
I would have expected
domain
to be[1]
.The text was updated successfully, but these errors were encountered: