Skip to content
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

Extract retry-read to new crate #1790

Merged
merged 1 commit into from Nov 2, 2021
Merged

Conversation

tjkirch
Copy link
Contributor

@tjkirch tjkirch commented Oct 27, 2021

Description of changes:

I need RetryRead in an upcoming PR, so this extracts the code from early-boot-config into a new crate and adds a bit of documentation and unit tests.

Testing done:

Unit tests pass, and a Bottlerocket instance with the change is healthy.

Terms of contribution:

By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.

@zmrow zmrow requested review from webern and zmrow and removed request for webern October 28, 2021 14:55
sources/retry-read/src/lib.rs Show resolved Hide resolved
@tjkirch tjkirch requested review from jpculp and cbgbt October 29, 2021 23:49
@tjkirch
Copy link
Contributor Author

tjkirch commented Nov 1, 2021

^ This push removes the generate_constants() bit from build.rs; I accidentally copied build.rs from a crate that needed to do a bit more than usual.

@tjkirch tjkirch merged commit dcd340c into bottlerocket-os:develop Nov 2, 2021
@tjkirch tjkirch deleted the retry-read branch November 2, 2021 00:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants