-
Notifications
You must be signed in to change notification settings - Fork 169
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
src/cloud-prune: rework duration conversion, move to cosalib
Rework the duration parsing code to support days, weeks, months and years. Also use a regexp so we don't need the space. In preparation for the container garbage collection code, which will consume the same policy files, move the code to the shared cosalib. Also updates the parse_fcos_version to returns the stream id in a tuple along the build timestamp.
- Loading branch information
1 parent
398ee5a
commit 523c2a8
Showing
2 changed files
with
41 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters