-
Notifications
You must be signed in to change notification settings - Fork 150
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
[QC-996] policy multiple_per_run can delete first and last #1921
Conversation
84d75a6
to
f45f73f
Compare
preservation_list.extend(run_versions) | ||
continue | ||
# flag second with `cleaner_2nd` | ||
ccdb.updateValidity(run_versions[1], run_versions[1].validFrom, run_versions[1].validTo, |
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.
@knopers8 I think that here we should not actually update the validity right ?
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.
now we probably never should update validity
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.
ah wait, my bad, this is actually not touching the validity but adds the flag.
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.
@knopers8 is it ok ? it is not touching the validity, it is just using this method to add the flag.
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.
yes, but perhaps we should have another method for doing this.
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.
I have created a dedicated method. Behind the scene we still have to specify the validity due to the way the CCDB rest api works.
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.
thank you
… requires to specify the start of validity behind the scene.
No description provided.