Skip to content
This repository has been archived by the owner on May 28, 2021. It is now read-only.

Add BackupOperator UpdateFunc and fix duplicate backups #213

Merged

Conversation

Simon-Li
Copy link

@Simon-Li Simon-Li commented Aug 30, 2018

fix #211 , #212

@Simon-Li Simon-Li changed the title Add UpdateFunc and fix duplicate backups Add BackupOperator UpdateFunc and fix duplicate backups Aug 30, 2018
// Don't modify items in the cache.
backup = backup.DeepCopy()
// Set defaults (incl. operator version label).
backup = backup.EnsureDefaults()

Choose a reason for hiding this comment

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

Can this not just be?

backup = backup.DeepCopy().EnsureDefaults()

Copy link
Author

Choose a reason for hiding this comment

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

Yep, it's fine :) @bweston92

@prydie prydie added the oracle-cla: yes Contributor has signed the Oracle Contributor Licence Agreement label Aug 31, 2018
Copy link

@prydie prydie left a comment

Choose a reason for hiding this comment

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

Awesome, thanks @Simon-Li!

@prydie prydie merged commit f9ccd3b into oracle:master Aug 31, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement oracle-cla: yes Contributor has signed the Oracle Contributor Licence Agreement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Questions with 2 TODO comments
4 participants