Fix Docker has returned an error: 500 b'No command specified'

Fix #433
This commit is contained in:
Julien Duponchelle committed 2016-02-19 17:01:28 +01:00
1 parent 7aedfc92fa
commit f4f9e6eba6
2 files changed
+14 -1

No files matched your search

+5 -1
View File
@@ -95,7 +95,11 @@ class DockerVM(BaseVM):
@start_command.setter
def start_command(self, command):
self._start_command = command
command = command.strip()
if len(command) == 0:
self._start_command = None
else:
self._start_command = command
@property
def environment(self):