Skip to content

Add unit test for findRunImage#3560

Merged
dgageot merged 1 commit intoGoogleContainerTools:masterfrom
dgageot:test-find-image
Jan 22, 2020
Merged

Add unit test for findRunImage#3560
dgageot merged 1 commit intoGoogleContainerTools:masterfrom
dgageot:test-find-image

Conversation

@dgageot
Copy link
Copy Markdown
Contributor

@dgageot dgageot commented Jan 22, 2020

No description provided.

@codecov
Copy link
Copy Markdown

codecov bot commented Jan 22, 2020

Codecov Report

Merging #3560 into master will increase coverage by 0.07%.
The diff coverage is 100%.

Impacted Files Coverage Δ
pkg/skaffold/build/buildpacks/lifecycle.go 66% <100%> (ø) ⬆️
pkg/skaffold/build/buildpacks/metadata.go 100% <100%> (+72.72%) ⬆️

cfg, err := b.localDocker.ConfigFile(ctx, a.Builder)
if err != nil {
return "", err
return "", errors.Wrapf(err, "unable find image %q", a.Builder)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nit:

Suggested change
return "", errors.Wrapf(err, "unable find image %q", a.Builder)
return "", errors.Wrapf(err, "unable to find image %q", a.Builder)

@balopat balopat self-assigned this Jan 22, 2020
Copy link
Copy Markdown
Contributor

@balopat balopat left a comment

Choose a reason for hiding this comment

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

LGTM with a nit

Signed-off-by: David Gageot <david@gageot.net>
@dgageot dgageot merged commit 4af7589 into GoogleContainerTools:master Jan 22, 2020
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