oci-containers: fix containers attribute in docs

This commit is contained in:
Brian McKenna
2020-12-26 16:06:30 +11:00
committed by GitHub
parent 8a801d4319
commit 1c73baa8c8
@@ -176,10 +176,10 @@ let
description = '' description = ''
Define which other containers this one depends on. They will be added to both After and Requires for the unit. Define which other containers this one depends on. They will be added to both After and Requires for the unit.
Use the same name as the attribute under <literal>virtualisation.oci-containers</literal>. Use the same name as the attribute under <literal>virtualisation.oci-containers.containers</literal>.
''; '';
example = literalExample '' example = literalExample ''
virtualisation.oci-containers = { virtualisation.oci-containers.containers = {
node1 = {}; node1 = {};
node2 = { node2 = {
dependsOn = [ "node1" ]; dependsOn = [ "node1" ];