Skip to content

Commit

Permalink
fix: removed context from debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
mojtaba-esk committed Jan 19, 2024
1 parent c35911a commit d1d5cd4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/builder/docker/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func (d *Docker) Build(_ context.Context, b *builder.BuilderOptions) (logs strin
logrus.Debug("created new docker builder instance")
}

logrus.Debug("building docker image: ", b.Destination, " context:", b.BuildContext)
logrus.Debug("building docker image: ", b.Destination)

buildContext := builder.GetDirFromBuildContext(b.BuildContext)

Expand All @@ -70,7 +70,6 @@ func (d *Docker) Build(_ context.Context, b *builder.BuilderOptions) (logs strin
if err := os.RemoveAll(b.BuildContext); err != nil {
return "", ErrFailedToRemoveContextDir.Wrap(err)
}
logrus.Debug("removed build context directory: ", b.BuildContext)

return logs, nil
}
Expand Down

0 comments on commit d1d5cd4

Please sign in to comment.