Skip to content
This repository has been archived by the owner on Feb 24, 2020. It is now read-only.

Add size to api response #1916

Merged
merged 2 commits into from Dec 24, 2015
Merged

Conversation

derekparker
Copy link
Contributor

Partially implements #1872. This patch adds "Size" to the API response. It does not add annotations, I was planning on adding that in another PR but can fold it into this one if that's preferred.

@derekparker
Copy link
Contributor Author

cc @yifan-gu @jonboulle

Semaphore failure seems to be unrelated to my patch.

@@ -73,6 +73,9 @@ message Image {

// JSON-encoded byte array that represents the image manifest, optional.
bytes manifest = 6;

// Size of the image, (aci size) + (tree size).
int64 size = 7;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems like a tab indentation while the other lines are space indentation. I don't have strong preference on either, but we should keep consistency.

@yifan-gu
Copy link
Contributor

Small nits, LGTM, the semaphore failure looks like a flaky network issue, not related.

@jonboulle
Copy link
Contributor

LGTM

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants