-
Notifications
You must be signed in to change notification settings - Fork 249
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(oci): push archive layers if layer count exceeds max #1847
Conversation
7ad9b72
to
9bd91d9
Compare
Ok @lann, ready for another review. Per our sync, b9ce749 brings in the following changes:
|
} | ||
} | ||
} | ||
} | ||
_ => { | ||
let _ = this.cache.write_data(&bytes, &layer.digest).await; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
...this one too
let _ = this.cache.write_data(&bytes, &layer.digest).await; | |
this.cache.write_data(&bytes, &layer.digest).await?; |
71640b3
to
c4c59de
Compare
35dbd84 brings a slight improvement: pairs archive and unarchive logic into the one utils file, for (hopefully) easier refactoring (eg async -> sync, diff compression algorithm...) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think Client
generally needs some TLC but that's not this PR's fault.
if number of layers otherwise exceeds max Signed-off-by: Vaughn Dice <vaughn.dice@fermyon.com>
3f7d2ce
to
be87f0c
Compare
Closes #1787