Skip to content
This repository was archived by the owner on May 6, 2020. It is now read-only.

fix(logs): app logs endpoint was returning binary string instead of a normal string#1035

Merged
helgi merged 1 commit intodeis:masterfrom
helgi:ticket_1033
Sep 2, 2016
Merged

fix(logs): app logs endpoint was returning binary string instead of a normal string#1035
helgi merged 1 commit intodeis:masterfrom
helgi:ticket_1033

Conversation

@helgi
Copy link
Copy Markdown
Contributor

@helgi helgi commented Sep 2, 2016

When python-requests got data from logger it was in binary string format, converting that to normal string was sufficient

Docs change deis/workflow#485

Fixes #1033

@helgi helgi added this to the v2.5 milestone Sep 2, 2016
@helgi helgi self-assigned this Sep 2, 2016
@deis-bot
Copy link
Copy Markdown

deis-bot commented Sep 2, 2016

@bacongobbler, @Joshua-Anderson and @kmala are potential reviewers of this pull request based on my analysis of git blame information. Thanks @helgi!

@helgi helgi force-pushed the ticket_1033 branch 2 times, most recently from 41ab787 to 9341bcd Compare September 2, 2016 00:24
@helgi
Copy link
Copy Markdown
Contributor Author

helgi commented Sep 2, 2016

Bumping the API Version as the SDK (and CLI, since beta) have been doing something like this https://github.com/deis/controller-sdk-go/blob/master/apps/apps.go#L110

    // We need to trim a few characters off the front and end of the string
    return string(body[2 : len(body)-1]), reqErr

Older clients are not going to be very compatible with the new [correct] output

@codecov-io
Copy link
Copy Markdown

codecov-io commented Sep 2, 2016

Current coverage is 87.04% (diff: 100%)

Merging #1035 into master will not change coverage

@@             master      #1035   diff @@
==========================================
  Files            42         42          
  Lines          3567       3567          
  Methods           0          0          
  Messages          0          0          
  Branches        602        602          
==========================================
  Hits           3105       3105          
  Misses          302        302          
  Partials        160        160          

Powered by Codecov. Last update e1c6e71...5afdf56

… normal string

When pythong-requests got data from logger it was in binary string format, converting that to normal string was sufficient

Fixes deis#1033
@helgi helgi merged commit 83df91e into deis:master Sep 2, 2016
@helgi helgi deleted the ticket_1033 branch September 2, 2016 17:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants