mirror of
https://github.com/eosswedenorg/thalos
synced 2026-06-18 04:40:03 +02:00
implement whitelist option in blacklist
This commit is contained in:
parent
4f27307c70
commit
20168a9329
6 changed files with 18 additions and 7 deletions
|
|
@ -238,6 +238,8 @@ func GetConfig(flags *pflag.FlagSet) (*config.Config, error) {
|
|||
}
|
||||
}
|
||||
|
||||
cfg.Ship.Blacklist.SetWhitelist(cfg.Ship.BlacklistIsWhitelist)
|
||||
|
||||
return cfg, nil
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue