summaryrefslogtreecommitdiff
path: root/lib/api/files.rb
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2017-10-23 03:57:51 +0300
committerStan Hu <stanhu@gmail.com>2017-10-23 04:02:01 +0300
commit3e81c5006cb37f31be15e73cf0b2a525834d7800 (patch)
tree34b46519f314c901e872e096761992ae9aac7d78 /lib/api/files.rb
parent40ded704cc9b535bee9afd45512d52173c3fc0e7 (diff)
downloadgitlab-ce-3e81c5006cb37f31be15e73cf0b2a525834d7800.tar.gz
Fix deletion of container registry or images returning an error
A successful DELETE call would result in a 204 No Content result, which would have an empty response body. Don't automatically try to parse this value as JSON both because there is no additional information passed in the response body. Closes #39354
Diffstat (limited to 'lib/api/files.rb')
0 files changed, 0 insertions, 0 deletions