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

Minor improvements to nydus-image #1135

Merged
merged 2 commits into from
Mar 6, 2023

Commits on Mar 4, 2023

  1. nydus-image: simplify ArtifactWriter::new() to remove the fifo arg

    Simplify ArtifactWriter::new() to remove the argument `fifo`. We can
    detect whether a file is a FIFO or not, so need to pass flag for it.
    
    Signed-off-by: Jiang Liu <gerry@linux.alibaba.com>
    jiangliu committed Mar 4, 2023
    Configuration menu
    Copy the full SHA
    dd68b19 View commit details
    Browse the repository at this point in the history
  2. nydus-image: minor improvement to nydus-image

    Minor improvement to nydus-image:
    - better handling of `chunk-size` argument
    - avoid assert at runtime by returning error code
    
    Signed-off-by: Jiang Liu <gerry@linux.alibaba.com>
    jiangliu committed Mar 4, 2023
    Configuration menu
    Copy the full SHA
    b217101 View commit details
    Browse the repository at this point in the history