1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-29 02:09:41 +02:00

feat(templates): add labels to container template (#1538)

This commit is contained in:
Rahul Ruikar 2018-01-07 03:24:51 +10:00 committed by Anthony Lapenna
parent f8c7ee7ae6
commit 03f6cc0acf
5 changed files with 53 additions and 2 deletions

View file

@ -54,6 +54,7 @@ angular.module('portainer.services')
var consoleConfiguration = TemplateHelper.getConsoleConfiguration(template.Interactive);
configuration.OpenStdin = consoleConfiguration.openStdin;
configuration.Tty = consoleConfiguration.tty;
configuration.Labels = TemplateHelper.updateContainerConfigurationWithLabels(template.Labels);
return configuration;
};