-
Notifications
You must be signed in to change notification settings - Fork 194
STORAUTO-62 support for setting LUN ID on block volumes #840
New issue
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
STORAUTO-62 support for setting LUN ID on block volumes #840
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let me know about how createOrUpdateLunId reports errors, and when this should be merged.
Otherwise the code looks fine to me.
| if 'value' in res and lun_id == res['value']: | ||
| click.echo( | ||
| 'Block volume with id %s is reporting LUN ID %s' % (res['volumeId'], res['value'])) | ||
| else: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how does createOrUpdateLunId report errors?
if it throws an exception, this else could be removed
if it returns false this is fine, but if it returns a message, that message should be displayed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a bug that returns null when the underlying property does not exist before the method is called. I am told that is addressed in another issue.
|
@causton81 looks like my change in #841 is causing a merge conflict with this pull request. When you get a chance can you update your changes to include mine to resolve this conflict. Thanks. |
eb645d8 to
74c49ea
Compare
|
@allmightyspiff , FBLOCK-3 was deployed and this should be good to merge now. |
This depends on FBLOCK-3 being released, but I would like to address any comments in the meantime so it can be ready to go when FBLOCK-3 is released.