You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried it with the source code of main branch and this situation doesn't occur.(But the viper 1.19 which I downloaded with go mod did). Maybe it would be fixed in the next release.
Preflight Checklist
Viper Version
1.19
Go Version
1.21
Config Source
Files
Format
YAML, TOML
Repl.it link
No response
Code reproducing the issue
Expected Behavior
map is
config.yaml
share_disk:
addr: 10.74.67.4
Actual Behavior
config.yaml
share_disk:
addr: 10.74.67.4
addr: 10.74.67.5
Steps To Reproduce
step:
1、config.yaml
share_disk:
addr: 10.74.67.4
addr: 10.74.67.5
2、The configuration read out is :
share_disk:
addr: 10.74.67.4
addr: 10.74.67.5
3、Then modify the configuration file to
config.yaml
share_disk:
addr: 10.74.67.4
4、The configuration read out is : Still the result of the second step
final result:The configuration has reduced one element but there is no hot update configuration
Additional Information
No response
The text was updated successfully, but these errors were encountered: