• Nick Thomas's avatar
    Fix repository cleanup with object storage on · 0b74b863
    Nick Thomas authored
    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
    0b74b863