Skip to content
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

BackupItemActionPlugin: handle nil updatedItem #520

Conversation

ncdc
Copy link
Contributor

@ncdc ncdc commented Jun 1, 2018

Handle the case where a BackupItemAction may return nil for updatedItem,
meaning "no modifications to the item". The backupPVAction does this,
and we were panicking instead of accepting it.

Fixes #519

Signed-off-by: Andy Goldstein andy.goldstein@gmail.com

Handle the case where a BackupItemAction may return nil for updatedItem,
meaning "no modifications to the item". The backupPVAction does this,
and we were panicking instead of accepting it.

Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
@ncdc ncdc added the Bug label Jun 1, 2018
Copy link
Contributor

@wwitzel3 wwitzel3 left a comment

Choose a reason for hiding this comment

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

LGTM 🎉

@wwitzel3 wwitzel3 merged commit 6f62749 into vmware-tanzu:master Jun 1, 2018
@ncdc ncdc deleted the fix-backup-pv-action-when-volumeName-is-missing branch June 1, 2018 18:31
@ncdc ncdc mentioned this pull request Jun 1, 2018
wwitzel3 added a commit that referenced this pull request Jun 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants