Instead of sending DB IDs, send "internal IDs" which are DB IDs hashed. This way, we can still calculate the ancestors without hitting the DB further, but without leaking the size of the images table

This commit is contained in:
Joseph Schorr 2014-09-08 15:02:26 -04:00 committed by Jake Moshenko
parent 74c1662f54
commit 9621566d31
7 changed files with 59 additions and 36 deletions

View file

@ -1436,7 +1436,7 @@ class TestListAndGetImage(ApiTestCase):
assert 'comment' in image
assert 'command' in image
assert 'ancestors' in image
assert 'dbid' in image
assert 'internal_id' in image
assert 'size' in image
ijson = self.getJsonResponse(RepositoryImage,