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
Current implementation of vnc api client library, frames fq_name of the object based on the following criteria
we need to do similar thing in go-api-server as well.
if parent_obj: self.parent_type = parent_obj._type # copy parent's fq_name self.fq_name = list(parent_obj.fq_name) self.fq_name.append(name) elif kwargs_parent_type and kwargs_fq_name: self.parent_type = kwargs_parent_type self.fq_name = kwargs_fq_name else: # No parent obj specified self.parent_type = 'project' self.fq_name = [u'default-domain', u'default-project'] self.fq_name.append(name)
The text was updated successfully, but these errors were encountered:
cijohnson
No branches or pull requests
Current implementation of vnc api client library, frames fq_name of the object based on the following criteria
we need to do similar thing in go-api-server as well.
code snippet:
if parent_obj:
self.parent_type = parent_obj._type
# copy parent's fq_name
self.fq_name = list(parent_obj.fq_name)
self.fq_name.append(name)
elif kwargs_parent_type and kwargs_fq_name:
self.parent_type = kwargs_parent_type
self.fq_name = kwargs_fq_name
else: # No parent obj specified
self.parent_type = 'project'
self.fq_name = [u'default-domain', u'default-project']
self.fq_name.append(name)
The text was updated successfully, but these errors were encountered: