1
0
Fork 0
mirror of https://github.com/eosswedenorg/thalos synced 2026-08-31 21:08:14 +02:00

nternal/config/cli.go: move overrideCliFlags() to cmd/thalos/server.go as its pretty specific code.

This commit is contained in:
Henrik Hautakoski 2024-02-18 18:00:26 +01:00
parent 53baae8a7f
commit 7f1f186aa0
4 changed files with 15 additions and 24 deletions

View file

@ -116,12 +116,5 @@ func (b *Builder) Build() (*Config, error) {
return nil, err
}
// Call custom handler.
if b.flags != nil {
if err := overrideCliFlags(&conf, b.flags); err != nil {
return nil, err
}
}
return &conf, nil
}