forked from TrueCloudLab/frostfs-node
[#1910] .golangci.yml: Add godot
linker
Signed-off-by: Evgenii Stratonikov <evgeniy@morphbits.ru>
This commit is contained in:
parent
347912ea0b
commit
d772e35aba
54 changed files with 90 additions and 107 deletions
|
@ -60,8 +60,7 @@ func New(_ Prm, opts ...Option) *Config {
|
|||
}
|
||||
}
|
||||
|
||||
// Reload reads configuration path if any was provided
|
||||
// to the New. Returns any
|
||||
// Reload reads configuration path if it was provided to New.
|
||||
func (x *Config) Reload() error {
|
||||
if x.opts.path != "" {
|
||||
err := x.v.ReadInConfig()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue