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:
parent
f772cd31cb
commit
1a4dff536d
2 changed files with 3 additions and 4 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue