Skip to content

Commit

Permalink
fix: remove provided.al2 check, there was no case where this hit
Browse files Browse the repository at this point in the history
  • Loading branch information
Skn0tt committed Sep 8, 2023
1 parent 4a14743 commit 1e8f0c3
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions go/porcelain/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -869,10 +869,6 @@ func newFunctionFile(filePath string, i os.FileInfo, runtime string, runtimeVers
return nil, err
}

if runtime == "go" && file.RuntimeVersion != "" {
file.RuntimeVersion = "provided.al2"
}

if _, err = io.Copy(fileHeader, fileEntry); err != nil {
return nil, err
}
Expand Down

0 comments on commit 1e8f0c3

Please sign in to comment.