diff options
author | Nick Thomas <nick@gitlab.com> | 2018-12-15 13:49:15 +0000 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2018-12-15 13:50:59 +0000 |
commit | 0b74b863679a8f55642973eddf25f9e58183d984 (patch) | |
tree | a1923016b4ec611e9a937be0c55feb8575675d6e /spec/controllers/projects/settings | |
parent | 8d2e1b724bd515c5977090d722b915f374218eb3 (diff) | |
download | gitlab-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