nixos/consul: update deprecated webUi

This commit is contained in:
GTrunSec 2021-12-03 09:46:24 -08:00
parent d3a2719fe8
commit 8e92c6c510
No known key found for this signature in database
GPG key ID: 2368FAFA4ABDD2A0

View file

@ -8,7 +8,9 @@ let
configOptions = {
data_dir = dataDir;
ui = cfg.webUi;
ui_config = {
enabled = cfg.webUi;
};
} // cfg.extraConfig;
configFiles = [ "/etc/consul.json" "/etc/consul-addrs.json" ]