Skip to content

Conversation

Degfy
Copy link
Member

@Degfy Degfy commented Jun 4, 2025

  • Implement Notify method in configure struct to support configuration change callbacks
  • Add newConf method to create and return a new viper instance for updated configurations- Update OnChange method to use the newConf method and handle configuration updates more efficiently
  • Refactor Init method to use a newConfigClient variable for better code organization
  • Improve error handling throughout the code using g.ErrorPrinter and g.PanicIfErr
  • Update tests to cover new functionality and ensure proper behavior of configuration updates

- Implement Notify method in configure struct to support configuration change callbacks
- Add newConf method to create and return a new viper instance for updated configurations- Update OnChange method to use the newConf method and handle configuration updates more efficiently
- Refactor Init method to use a newConfigClient variable for better code organization
- Improve error handling throughout the code using g.ErrorPrinter and g.PanicIfErr
- Update tests to cover new functionality and ensure proper behavior of configuration updates
@Degfy Degfy added this to gone plan Jun 4, 2025
@Degfy Degfy moved this to Todo in gone plan Jun 4, 2025
Copy link

codecov bot commented Jun 4, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Files with missing lines Coverage Δ
nacos/configure.go 89.51% <100.00%> (+15.93%) ⬆️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Degfy Degfy merged commit 98668ce into main Jun 4, 2025
6 checks passed
@github-project-automation github-project-automation bot moved this from Todo to Done in gone plan Jun 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant