Skip to content

Rd 817 manila sdk#383

Merged
EarthmanT merged 6 commits intomasterfrom
RD-817-Manila-SDK
Dec 27, 2020
Merged

Rd 817 manila sdk#383
EarthmanT merged 6 commits intomasterfrom
RD-817-Manila-SDK

Conversation

@EarthmanT
Copy link
Copy Markdown
Collaborator

No description provided.

Copy link
Copy Markdown
Contributor

@AdarShaked AdarShaked left a comment

Choose a reason for hiding this comment

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

+update changelog.

Comment thread constraints.txt
Comment thread openstack_sdk/resources/manila.py Outdated
'Allowed share with this result: {0}'.format(result))
return result

def deny(self, var):
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can we think on informative name to var ? from what i see its an ip instance id

openstack_resource.delete()

if openstack_resource.delete_failed:
raise NonRecoverableError('Failed to delete the resource {0}.'.format(
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Use keywords in format.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

in this plugin people have used indices I think?

raise NonRecoverableError('Failed to delete the resource {0}.'.format(
openstack_resource.resource_id))
elif not openstack_resource.resource:
ctx.logger.info('Shared resource {0} is deleted successfully'.format(
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Here too.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

in this plugin people have used indices I think?

Comment thread openstack_plugin/resources/share/file_share.py Outdated
Comment thread openstack_plugin/resources/share/network_share.py
AdarShaked
AdarShaked previously approved these changes Dec 24, 2020
@EarthmanT EarthmanT merged commit ea549e4 into master Dec 27, 2020
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.

2 participants