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

Added tests for info command #3

Merged
merged 2 commits into from
Aug 22, 2023
Merged

Added tests for info command #3

merged 2 commits into from
Aug 22, 2023

Conversation

juamedgod
Copy link
Contributor

No description provided.

cmd/dt/info.go Outdated
@@ -26,14 +26,17 @@ func readLockFromWrap(chartPath string) (*imagelock.ImagesLock, error) {
return nil, err
}
if lock == nil {
return nil, fmt.Errorf("failed to find Images.lock file inside wrap")
return nil, fmt.Errorf("lock not found in wrap")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
return nil, fmt.Errorf("lock not found in wrap")
return nil, fmt.Errorf("Images.lock not found in wrap")

@mpermar mpermar merged commit e7b1baf into main Aug 22, 2023
1 check passed
@mpermar mpermar deleted the info-tests branch August 22, 2023 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants