1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-05 05:45:22 +02:00

#643 feat(templates): add privileged flag to templates (#644)

This commit is contained in:
WTFKr0 2017-03-10 15:43:57 +01:00 committed by Anthony Lapenna
parent 082cf5772b
commit f28f223624
2 changed files with 2 additions and 0 deletions

View file

@ -7,6 +7,7 @@ function TemplateViewModel(data) {
this.Command = data.command ? data.command : '';
this.Network = data.network ? data.network : '';
this.Env = data.env ? data.env : [];
this.Privileged = data.privileged ? data.privileged : false;
this.Volumes = [];
if (data.volumes) {
this.Volumes = data.volumes.map(function (v) {