bazooka-ci / bazooka

Continuous Integration and Continuous Deployment Server
http://docs.bazooka-ci.io/
MIT License
60 stars 5 forks source link

Fix error when registering an image #274

Closed jawher closed 8 years ago

jawher commented 8 years ago

The error was caused by parsing the json body into a map, whereas the validator (automatically invoked) expects a struct

julienvey commented 8 years ago

:+1: Are we sure the problem does not exists anywhere else ?

jawher commented 8 years ago

Yes, I checked for all the other callers of parseBody, and all of them parse into structs.