Skip to content

Commit

Permalink
nixos-container: break lines in description of forwardPorts.
Browse files Browse the repository at this point in the history
  • Loading branch information
wavewave authored and globin committed Feb 15, 2017
1 parent 4f0b663 commit 5ca0f72
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion nixos/modules/virtualisation/containers.nix
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,10 @@ let
default = [];
example = [ { protocol = "tcp"; hostPort = 8080; containerPort = 80; } ];
description = ''
List of forwarded ports from host to container. Each forwarded port is specified by protocol, hostPort and containerPort. By default, protocol is tcp and hostPort and containerPort are assumed to be the same if containerPort is not explicitly given.
List of forwarded ports from host to container. Each forwarded port
is specified by protocol, hostPort and containerPort. By default,
protocol is tcp and hostPort and containerPort are assumed to be
the same if containerPort is not explicitly given.
'';
};

Expand Down

0 comments on commit 5ca0f72

Please sign in to comment.