Merge pull request #107610 from puffnfresh/patch-3

oci-containers: fix containers attribute in docs
This commit is contained in:
lewo 2020-12-31 09:39:25 +01:00 committed by GitHub
commit 7a6a0577f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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