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

tests/converter: modify unpack testcase #614

Merged
merged 2 commits into from
Oct 15, 2024
Merged

Commits on Oct 15, 2024

  1. tests/converter: modify unpack testcase

    This patch modifies the unpack testcase to keep consistent with the
    new `nydus-image unpack` interface in nydus-image.
    
    Signed-off-by: Yifan Zhao <[email protected]>
    SToPire committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    c5b8011 View commit details
    Browse the repository at this point in the history
  2. tests/converter: fix invalid use of user.Username

    The Go package `user` has a `Current` method that returns the current
    user. We should use `user.Current().Username` instead of
    `user.Current().Name` to get the current username. This patch fixes it.
    
    Signed-off-by: Yifan Zhao <[email protected]>
    SToPire committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    6964102 View commit details
    Browse the repository at this point in the history