flannel service: fix enable expression
Need to surround the equality check in parentheses.
This commit is contained in:
parent
15b4a37027
commit
cd9f709582
@ -149,6 +149,6 @@ in {
|
||||
serviceConfig.ExecStart = "${cfg.package}/bin/flannel";
|
||||
};
|
||||
|
||||
services.etcd.enable = mkDefault cfg.etcd.endpoints == ["http://127.0.0.1:2379"];
|
||||
services.etcd.enable = mkDefault (cfg.etcd.endpoints == ["http://127.0.0.1:2379"]);
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user