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

chore: delete transformed checks from cron #1136

Merged
merged 1 commit into from
Jul 11, 2023

Conversation

yashmehrotra
Copy link
Member

@@ -51,7 +51,8 @@ func StartScanCanaryConfigs(dataFile string, configFiles []string) {
type CanaryJob struct {
*kommons.Client
Kubernetes kubernetes.Interface
v1.Canary
Canary v1.Canary
DBCanary pkg.Canary
Copy link
Member Author

Choose a reason for hiding this comment

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

Will use DB object from now on, will slowly deprecate uses of the old spec

@yashmehrotra yashmehrotra marked this pull request as draft July 10, 2023 06:37
@yashmehrotra yashmehrotra force-pushed the remove-transformed-checks-from-cron branch from 1eecedd to 1699d55 Compare July 10, 2023 06:46
@yashmehrotra yashmehrotra marked this pull request as ready for review July 10, 2023 07:06
@yashmehrotra yashmehrotra force-pushed the remove-transformed-checks-from-cron branch from fd555d7 to 5906b72 Compare July 11, 2023 09:05
@@ -96,10 +96,6 @@ func PersistCheck(check pkg.Check, canaryID uuid.UUID) (uuid.UUID, error) {
"deleted_at": nil,
}

// Deletions for transformed checks are handled separately
Copy link
Member Author

Choose a reason for hiding this comment

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

@moshloop
Not sure why we put this, removing it

@moshloop moshloop merged commit 338aab0 into master Jul 11, 2023
11 checks passed
@yashmehrotra yashmehrotra deleted the remove-transformed-checks-from-cron branch July 12, 2023 03:36
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