Skip to content

Commit

Permalink
Remove always-false assertion in S3BackupFileSystem::GetDirectory
Browse files Browse the repository at this point in the history
This was designed to stop untested code from running. Now we are ready to use
this code, with tests soon to come.
  • Loading branch information
qris committed Oct 7, 2017
1 parent 5cf84ed commit d76865f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/backupstore/BackupFileSystem.cpp
Expand Up @@ -1523,7 +1523,6 @@ void S3BackupFileSystem::GetDirectory(int64_t ObjectID, BackupStoreDirectory& rD
rDirOut.ReadFromStream(response, mrClient.GetNetworkTimeout());

rDirOut.SetRevisionID(GetRevisionID(uri, response));
ASSERT(false); // set the size in blocks
rDirOut.SetUserInfo1_SizeInBlocks(GetSizeInBlocks(response.GetContentLength()));
}

Expand Down

0 comments on commit d76865f

Please sign in to comment.