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

feat(container-console): Adds custom commands based on container labels (#2159)

* feat(console): Adds custom commands based on container labels

* feat(console): Update custom commands label prefix
This commit is contained in:
Hasnat 2018-08-18 09:31:01 +01:00 committed by Anthony Lapenna
parent 102e63e1e5
commit 31c2a6d9e7
3 changed files with 14 additions and 3 deletions

View file

@ -15,4 +15,5 @@ angular.module('portainer')
.constant('API_ENDPOINT_TEMPLATES', 'api/templates')
.constant('DEFAULT_TEMPLATES_URL', 'https://raw.githubusercontent.com/portainer/templates/master/templates.json')
.constant('PAGINATION_MAX_ITEMS', 10)
.constant('APPLICATION_CACHE_VALIDITY', 3600);
.constant('APPLICATION_CACHE_VALIDITY', 3600)
.constant('CONSOLE_COMMANDS_LABEL_PREFIX', 'io.portainer.commands.');