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

[docker] strip newlines from API responses #1727

Merged
merged 1 commit into from
Jun 25, 2015

Conversation

talwai
Copy link
Contributor

@talwai talwai commented Jun 25, 2015

Some versions of the Docker /events API have juxtaposed JSON dictionaries in the response. We had some logic to handle the basic case, but we did not have any to account for newlines between juxtaposed dictionaries. The latter causes our parsing to break. This accounts for that by getting rid off any newlines in the response.

talwai added a commit that referenced this pull request Jun 25, 2015
[docker] strip newlines from API responses
@talwai talwai merged commit 53b1fee into master Jun 25, 2015
@talwai talwai deleted the talwai/strip_docker_newlines branch June 26, 2015 16:01
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