Skip to content

Bug fix and feature enhancement#12

Merged
fmnisme merged 3 commits into
fmnisme:masterfrom
scientress:master
Jun 4, 2020
Merged

Bug fix and feature enhancement#12
fmnisme merged 3 commits into
fmnisme:masterfrom
scientress:master

Conversation

@scientress

Copy link
Copy Markdown
Contributor

I encountered a bug in event streaming mode, namely the byte array returned by request.iter_content needs to be decoded to a string.

Additionally I added a small feature enhancement. Object requests now decode and add the json error message returned by Icinga to the exception raised on requests with non 2xx result codes.

@nzlosh

nzlosh commented Feb 25, 2020

Copy link
Copy Markdown

@evilscientress If you want to open this pull request against my repo, I'll merge it in. https://github.com/nzlosh/python-icinga2api

@nzlosh

nzlosh commented Feb 26, 2020

Copy link
Copy Markdown

@evilscientress you can ignore my request, someone has already merged existing pull requests: https://github.com/joni1993/icinga2apic

@scientress

Copy link
Copy Markdown
Contributor Author

@nzlosh ok!

@fmnisme fmnisme merged commit 1c0b36e into fmnisme:master Jun 4, 2020
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.

3 participants