Skip to content
Permalink
Browse files

Remove always-false assertion in S3BackupFileSystem::GetDirectory

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 Sep 24, 2017
1 parent 1c49e46 commit 504eaadbd5e39c149c5e2ee2154f7ee5f6df1955
Showing with 0 additions and 1 deletion.
  1. +0 −1 lib/backupstore/BackupFileSystem.cpp
@@ -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()));
}

0 comments on commit 504eaad

Please sign in to comment.
You can’t perform that action at this time.