Skip to content

Commit

Permalink
Merge pull request #137 from buildpack/fix-launch-layer-reuse-bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ekcasey authored May 29, 2019
2 parents 1facd31 + 548bae9 commit af8b715
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layers.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func readBuildpackLayersDir(layersDir string, buildpack Buildpack) (bpLayersDir,

tomls, err := filepath.Glob(filepath.Join(path, "*.toml"))
for _, toml := range tomls {
name := strings.TrimRight(filepath.Base(toml), ".toml")
name := strings.TrimSuffix(filepath.Base(toml), ".toml")
bpDir.layers[name] = *bpDir.newBPLayer(name)
}
return bpDir, nil
Expand Down

0 comments on commit af8b715

Please sign in to comment.