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

feat(schedule_service): implement UpdateBackupSchedule #81

Merged
merged 1 commit into from
Oct 4, 2024

Conversation

ulya-sidorina
Copy link
Collaborator

No description provided.

@ulya-sidorina ulya-sidorina marked this pull request as ready for review October 4, 2024 13:04
table_types.StringValueFromString(strings.Join(schedule.SourcePathsToExclude, ",")),
)
}
d.AddValueParam("$paths", table_types.StringValueFromString(strings.Join(schedule.SourcePaths, ",")))
Copy link
Collaborator

Choose a reason for hiding this comment

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

We need to somehow verify that for each WithUpdateBackupSchedule call, correct SourcePaths and SourcePathsToExclude are set. It is hard, maybe we need some kind of integration test for schedules, that verifies that non-empty SourcePaths are not overrided by empty strings

Copy link
Collaborator

Choose a reason for hiding this comment

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

I looked through the code and it seems that it is ok for now, but we need a ticket for adding schedules to integration test

@ulya-sidorina ulya-sidorina merged commit f5b96b1 into main Oct 4, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants