Skip to content
This repository has been archived by the owner on May 3, 2022. It is now read-only.

Fix master build #441

Merged
merged 2 commits into from
Nov 16, 2018
Merged

Fix master build #441

merged 2 commits into from
Nov 16, 2018

Conversation

carolynvs
Copy link
Contributor

@carolynvs carolynvs commented Nov 16, 2018

Fix a build error that cropped up when we added BaseImage

Copy link
Member

@technosophos technosophos left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -94,8 +94,10 @@ func (b *Builder) PrepareBuild(bldr *Builder, mfst *manifest.Manifest, appDir st
ii.ImageType = c.Type()
bf.InvocationImages = []bundle.InvocationImage{
{
Image: c.URI(),
ImageType: c.Type(),
BaseImage: bundle.BaseImage{
Copy link
Member

Choose a reason for hiding this comment

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

we make an invocation image right above this and then don't use it. Should this just turn into:

bf.InvocationImages = []bundle.InvocationImage{ii} 

Copy link
Contributor Author

Choose a reason for hiding this comment

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

good catch, fixing

Copy link
Member

@jeremyrickard jeremyrickard left a comment

Choose a reason for hiding this comment

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

LGTM

@jeremyrickard jeremyrickard merged commit 945d118 into cnabio:master Nov 16, 2018
@carolynvs carolynvs deleted the fix-build branch November 16, 2018 16:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants