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

Allow updating rule comment #4116

Closed
nsmith- opened this issue Nov 9, 2020 · 1 comment · Fixed by #4471
Closed

Allow updating rule comment #4116

nsmith- opened this issue Nov 9, 2020 · 1 comment · Fixed by #4471

Comments

@nsmith-
Copy link
Contributor

nsmith- commented Nov 9, 2020

Motivation

It would be nice to also allow updating the comment field in the update_replication_rule API.

Modification

Probably just need to add comment to the list in

valid_options = ['locked', 'lifetime', 'account', 'state', 'activity', 'source_replica_expression', 'cancel_requests', 'priority', 'child_rule_id', 'eol_at', 'meta', 'purge_replicas']

@nsmith-
Copy link
Contributor Author

nsmith- commented Nov 9, 2020

As an aside, it seems in add_replication_rule it is “comment” but in the dictionary returned from list_replication_rules it is “comments”

DhruvSondhi added a commit to DhruvSondhi/rucio that referenced this issue Mar 19, 2021
DhruvSondhi added a commit to DhruvSondhi/rucio that referenced this issue Mar 19, 2021
DhruvSondhi added a commit to DhruvSondhi/rucio that referenced this issue Mar 21, 2021
DhruvSondhi added a commit to DhruvSondhi/rucio that referenced this issue Mar 21, 2021
DhruvSondhi added a commit to DhruvSondhi/rucio that referenced this issue Mar 23, 2021
DhruvSondhi added a commit to DhruvSondhi/rucio that referenced this issue Mar 24, 2021
bari12 added a commit that referenced this issue Mar 26, 2021
…ng_rule_comment

Rules: added option to update comment in update_rule command Fix #4116
@bari12 bari12 added this to the 1.25.2-clients milestone Mar 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants