summaryrefslogtreecommitdiff
path: root/spec/controllers/projects/settings
diff options
context:
space:
mode:
authorNick Thomas <nick@gitlab.com>2018-12-15 13:49:15 +0000
committerNick Thomas <nick@gitlab.com>2018-12-15 13:50:59 +0000
commit0b74b863679a8f55642973eddf25f9e58183d984 (patch)
treea1923016b4ec611e9a937be0c55feb8575675d6e /spec/controllers/projects/settings
parent8d2e1b724bd515c5977090d722b915f374218eb3 (diff)
downloadgitlab-ce-0b74b863679a8f55642973eddf25f9e58183d984.tar.gz
Fix repository cleanup with object storage on
When the BFG object map file is in object storage (i.e., uploads in general are placed into object storage), we get an instance of the Gitlab::HttpIO class. This doesn't behave as expected when you try to read past EOF, so we need to explicitly check for this condition to avoid ending up in a tight loop around io.read
Diffstat (limited to 'spec/controllers/projects/settings')
0 files changed, 0 insertions, 0 deletions