Skip to content

Commit

Permalink
chore(build): remove unused code
Browse files Browse the repository at this point in the history
Ref #3011
  • Loading branch information
squakez committed Oct 11, 2023
1 parent ee6b4ef commit f39a1b2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pkg/builder/image.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,11 @@ import (
)

const (
ContextDir = "context"
DeploymentDir = "/deployments"
// ContextDir is the directory used to package the container.
ContextDir = "context"
// DeploymentDir is the directory used in the runtime application to deploy the artifacts.
DeploymentDir = "/deployments"
// DependenciesDir is the directory used to store required dependencies.
DependenciesDir = "dependencies"
)

Expand Down Expand Up @@ -139,9 +142,6 @@ func incrementalImageContext(ctx *builderContext) error {
ctx.SelectedArtifacts = append(ctx.SelectedArtifacts, entry)
}
}
} else if ctx.BaseImage == "" {
// TODO: transient workaround to be removed in 1.8.x
ctx.BaseImage = defaults.BaseImage()
}

return nil
Expand Down

0 comments on commit f39a1b2

Please sign in to comment.