flannel service: fix enable expression

Need to surround the equality check in parentheses.
This commit is contained in:
Robert Helgesson 2017-01-22 21:58:39 +01:00
parent 15b4a37027
commit cd9f709582
No known key found for this signature in database
GPG Key ID: C3DB11069E65DC86

View File

@ -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"]);
};
}