From d1d5cd474d73f189085dab333504e6beff14ba5a Mon Sep 17 00:00:00 2001 From: Mojtaba Date: Fri, 19 Jan 2024 14:12:41 +0100 Subject: [PATCH] fix: removed context from debug logs --- pkg/builder/docker/docker.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/builder/docker/docker.go b/pkg/builder/docker/docker.go index f8dade2..db7e584 100644 --- a/pkg/builder/docker/docker.go +++ b/pkg/builder/docker/docker.go @@ -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) @@ -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 }