Merge pull request #22038 from rycee/fix/flannel/service
flannel service: fix enable expression
This commit is contained in:
commit
513a564fba
@ -149,6 +149,6 @@ in {
|
|||||||
serviceConfig.ExecStart = "${cfg.package}/bin/flannel";
|
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