Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

initial attempt at feature for adding arguments for docker call #310

Closed
wants to merge 1 commit into from
Closed

initial attempt at feature for adding arguments for docker call #310

wants to merge 1 commit into from

Conversation

solvingj
Copy link
Contributor

In response to #277

Feedback welcome.

Copy link
Contributor

@lasote lasote left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small observations. Looks good!

envs = self.get_env_vars()
env_vars_text = " ".join(['-e %s="%s"' % (key, value)
for key, value in envs.items() if value])
docker_args_str = " ".join(docker_args)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

crash when None?


if docker_args is None:
docker_args = []
self.docker_args = docker_args
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If it shouldn't be false it is better to do self.docker_args = docker_args or []

@lasote
Copy link
Contributor

lasote commented Mar 15, 2019

#343

@lasote lasote closed this Mar 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants