Skip to content

[!] refactor config handling and remove deprecated parameters#376

Merged
pashagolub merged 1 commit into
masterfrom
refactor-config
May 5, 2026
Merged

[!] refactor config handling and remove deprecated parameters#376
pashagolub merged 1 commit into
masterfrom
refactor-config

Conversation

@pashagolub
Copy link
Copy Markdown
Collaborator

  • drop support for deprecated config parameter names
  • use local viper instance instead of global singleton
  • use local pflag.FlagSet instead of pflag.CommandLine
  • extract newConfig(args) to decouple config loading from os.Args
  • add unit tests for vipconfig

- drop support for deprecated config parameter names
- use local viper instance instead of global singleton
- use local `pflag.FlagSet` instead of `pflag.CommandLine`
- extract `newConfig(args)` to decouple config loading from `os.Args`
- add unit tests for `vipconfig`
@pashagolub pashagolub self-assigned this May 4, 2026
@github-project-automation github-project-automation Bot moved this to In progress in vip-manager May 4, 2026
@coveralls
Copy link
Copy Markdown

Coverage Status

coverage: 38.721% (+26.4%) from 12.275% — refactor-config into master

@pashagolub pashagolub merged commit 8043533 into master May 5, 2026
5 checks passed
@pashagolub pashagolub deleted the refactor-config branch May 5, 2026 14:33
@github-project-automation github-project-automation Bot moved this from In progress to Done in vip-manager May 5, 2026
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.

2 participants