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

Refactor params #64

Merged
merged 3 commits into from
Dec 31, 2019
Merged

Refactor params #64

merged 3 commits into from
Dec 31, 2019

Conversation

stsvilik
Copy link
Collaborator

Description

I have refactored the way docker parameters are serialized due to issues I ran with undesired spaces.
Also I have attempted to fix docker events not running on Windows.

Checklist

  • Unit/Integration test added (if applicable)
  • Documentation added/updated (wiki or md)
  • Code style is consistent with the rest of the project

@@ -4,7 +4,7 @@ import deepMerge from '../utils/deepMerge';

const NANOSECONDS = 1000000;
const DEFAULT_OPTIONS = {
format: '{{json .}}'
format: process.platform === 'win32' ? '"{{json .}}"' : '{{json .}}'
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This should fix Windows issues described in #56

@stsvilik stsvilik merged commit 777c734 into rc Dec 31, 2019
@stsvilik stsvilik deleted the refactor-params branch December 31, 2019 05:49
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.

1 participant