Skip to content

Commit

Permalink
Merge pull request #404 from ktpv/i381_fix
Browse files Browse the repository at this point in the history
fixes #381
  • Loading branch information
jromero authored Dec 4, 2019
2 parents 17f1ff5 + 4fc30b9 commit 621d70c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/builder/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ func (b *Builder) Save(logger logging.Logger) error {
bpInfo := bp.Descriptor().Info
if _, ok := bpLayers[bpInfo.ID][bpInfo.Version]; ok {
logger.Warnf(
"buildpack %s already exists on builder and will be overridden",
"buildpack %s already exists on builder and will be overwritten",
style.Symbol(bpInfo.FullName()),
)
}
Expand Down
2 changes: 1 addition & 1 deletion internal/builder/builder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -808,7 +808,7 @@ func testBuilder(t *testing.T, when spec.G, it spec.S) {
var layers dist.BuildpackLayers
h.AssertNil(t, json.Unmarshal([]byte(label), &layers))

h.AssertContains(t, outBuf.String(), "Warning: buildpack 'buildpack-1-id@buildpack-1-version-2' already exists on builder and will be overridden")
h.AssertContains(t, outBuf.String(), "Warning: buildpack 'buildpack-1-id@buildpack-1-version-2' already exists on builder and will be overwritten")
h.AssertNotContains(t, layers["buildpack-1-id"]["buildpack-1-version-2"].LayerDiffID, "buildpack-1-version-2-diff-id")
})
})
Expand Down

0 comments on commit 621d70c

Please sign in to comment.