1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-19 05:19:39 +02:00

fix(container-creation): fix an issue with command parsing (#2642)

* fix(container-creation): fix an issue with command parsing

* refactor(container-creation): remove indentation update
This commit is contained in:
Anthony Lapenna 2019-01-23 12:25:42 +13:00 committed by GitHub
parent f772cd31cb
commit 1a4dff536d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 4 deletions

View file

@ -1,10 +1,9 @@
angular.module('portainer.docker')
.factory('ContainerHelper', [function ContainerHelperFactory() {
angular.module('portainer.docker').factory('ContainerHelper', [function ContainerHelperFactory() {
'use strict';
var helper = {};
helper.commandStringToArray = function(command) {
return splitargs(command, undefined, true);
return splitargs(command);
};
helper.commandArrayToString = function(array) {