Skip to content

Commit d1e14a6

Browse files
author
Matthew Fisher
committed
feat(controller): handle special cmd proctype
1 parent 4f92caf commit d1e14a6

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

controller/api/models.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,11 @@ def _get_scheduler(self):
258258
def _get_command(self):
259259
c_type = self.type
260260
if c_type:
261-
return 'start {c_type}'
261+
# handle special case for Dockerfile deployments
262+
if c_type == 'cmd':
263+
return ''
264+
else:
265+
return 'start {c_type}'
262266
else:
263267
return ''
264268

0 commit comments

Comments
 (0)