Skip to content
Browse files

Fix a stack on docker container start when environment has unresolved…

… refs


File "/opt/opensvc/lib/", line 404, in environment_options
    for mapping in self.environment:
TypeError: 'NoneType' object is not iterable
  • Loading branch information...
cvaroqui committed Jun 27, 2019
1 parent 09031a6 commit f9b854b9d9acc0e43c0d93658208a12c4db11543
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/
@@ -400,6 +400,8 @@ def volume_options(self, errors="raise"):
return volumes

def environment_options(self):
if self.environment is None:
return []
options = []
for mapping in self.environment:

0 comments on commit f9b854b

Please sign in to comment.
You can’t perform that action at this time.