Skip to content

Commit

Permalink
WIP - formatting issues and new assert
Browse files Browse the repository at this point in the history
Signed-off-by: Juan Bustamante <[email protected]>
  • Loading branch information
jjbustamante committed Nov 3, 2021
1 parent 56a3378 commit d8c043b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/client/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ func (c *Client) Build(ctx context.Context, opts BuildOptions) error {
PreviousImage: opts.PreviousImage,
Interactive: opts.Interactive,
Termui: termui.NewTermui(),
OCIPath: ociPath,
OCIPath: ociPath,
}

lifecycleVersion := ephemeralBuilder.LifecycleDescriptor().Info.Version
Expand Down
1 change: 1 addition & 0 deletions pkg/client/build_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2537,6 +2537,7 @@ func testBuild(t *testing.T, when spec.G, it spec.S) {
OCIPath: "does/not/exist",
})
h.AssertError(t, err, "no such file or directory")
h.AssertError(t, err, "invalid oci path")
})
})
})
Expand Down

0 comments on commit d8c043b

Please sign in to comment.