Skip to content

Commit

Permalink
set direct process if jammy tiny stack in use
Browse files Browse the repository at this point in the history
not only when bionic tiny stack is used
  • Loading branch information
Frankie Gallina-Jones authored and ForestEckhardt committed Jul 12, 2022
1 parent 98c7ebf commit a0aaa19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion procfile/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func (b Build) Build(context libcnb.BuildContext) (libcnb.BuildResult, error) {
for k, v := range e.Metadata {
process := libcnb.Process{Type: k}

if context.StackID == libpak.TinyStackID {
if (context.StackID == libpak.BionicTinyStackID) || (context.StackID == libpak.JammyTinyStackID) {
s, err := shellwords.Parse(v.(string))
if err != nil {
return libcnb.BuildResult{}, fmt.Errorf("unable to parse %s\n%w", s, err)
Expand Down

0 comments on commit a0aaa19

Please sign in to comment.