14758: Fix panic on error reading request body.
authorTom Clegg <tclegg@veritasgenetics.com>
Mon, 1 Apr 2019 14:40:43 +0000 (10:40 -0400)
committerTom Clegg <tclegg@veritasgenetics.com>
Mon, 1 Apr 2019 15:16:41 +0000 (11:16 -0400)
commite289702131cc103f1e14d94ed49bdc62e0d5d8d7
tree84bc1fa13199249414883b29e7a7f3d689146726
parenta60f73b173ee31d49f41137ce67930d60a25ea6d
14758: Fix panic on error reading request body.

The deferred inline func panics if status != 200 && err == nil.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>
services/keepproxy/keepproxy.go