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

clean up old code and update configwrite #386

Merged
merged 2 commits into from
Feb 12, 2025

Conversation

rtay1188
Copy link
Collaborator

Cleaning up old state syncer code now that new code will be in the handlers rather than modifySE.
Also updating the configwriter - these will be removed later but leaving it in for now so that operator work can reference it.

@@ -244,7 +244,7 @@ func GetRootCmd(args []string) *cobra.Command {
rootCmd.PersistentFlags().BoolVar(&params.EnableSWAwareNSCaches, "enable_sw_aware_ns_caches", false, "Enable/Disable SW Aware NS Caches")
rootCmd.PersistentFlags().Int64Var(&params.DefaultWarmupDurationSecs, "default_warmup_duration_in_seconds", 45, "The default value for the warmupDurationSecs to be used on Destination Rules created by admiral")
rootCmd.PersistentFlags().BoolVar(&params.EnableGenerationCheck, "enable_generation_check", true, "Enable/Disable Generation Check")
rootCmd.PersistentFlags().BoolVar(&params.EnableIsOnlyReplicaCountChangedCheck, "enable_replica_count_check", true, "Enable/Disable Replica Count Check")
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

In previous PR I accidentally changed this to true, changing it back to false here.

@codecov-commenter
Copy link

codecov-commenter commented Feb 11, 2025

Codecov Report

Attention: Patch coverage is 33.46457% with 169 lines in your changes missing coverage. Please review.

Project coverage is 76.41%. Comparing base (94daadf) to head (91d8ba2).

Files with missing lines Patch % Lines
admiral/pkg/registry/testutils.go 9.09% 100 Missing ⚠️
admiral/pkg/clusters/serviceentry.go 17.07% 34 Missing ⚠️
admiral/pkg/clusters/util.go 19.35% 25 Missing ⚠️
admiral/pkg/clusters/configwriter.go 85.50% 5 Missing and 5 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #386      +/-   ##
==========================================
- Coverage   76.95%   76.41%   -0.55%     
==========================================
  Files          75       70       -5     
  Lines       10771    10736      -35     
==========================================
- Hits         8289     8204      -85     
- Misses       2057     2110      +53     
+ Partials      425      422       -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

# Conflicts:
#	admiral/pkg/clusters/util.go
@rtay1188 rtay1188 merged commit 5f26f26 into master Feb 12, 2025
3 checks passed
@rtay1188 rtay1188 deleted the MESH-6072-Statesyncer-Cleanup branch February 12, 2025 19:37
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.

3 participants