fix(manager): replace Unmarshal with Decode
Instead of repeating io.Read/Unmarshal pattern, use the Decoder, which also gets us content-type negotiation.
Showing
+12 -31
Please register or sign in to comment
Instead of repeating io.Read/Unmarshal pattern, use the Decoder, which also gets us content-type negotiation.