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

Fix restoring director job from snapshot for import source and sync rule #2528

Closed
wants to merge 2 commits into from

Conversation

raviks789
Copy link
Collaborator

Import source and sync rule ids are added to to director job settings before import as they are not present in the snapshot.

ref/IP/38986

…ule.

Remove rule_id and source_id from the SyncJob and ImportJob settings respectively. Use rule_name and source_name to obtain the list
of rules or sources respectively. In other terms avoid using rule_id or source_id entirely in settings.
@Thomas-Gelf Thomas-Gelf added this to the 1.10.1 milestone Sep 30, 2022
Thomas-Gelf pushed a commit that referenced this pull request Sep 30, 2022
@Thomas-Gelf Thomas-Gelf deleted the fix/restore-director-job branch September 30, 2022 09:40
@Thomas-Gelf
Copy link
Contributor

Thank you Ravi, has been merged with a small modification (unsetting source/rule after setting the ID on restore)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants