This is an automated email from the ASF dual-hosted git repository.

astefanutti pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit db9481d841976099d62d093934a43a62e675fafd
Author: Antonin Stefanutti <anto...@stefanutti.fr>
AuthorDate: Wed Jun 3 14:27:55 2020 +0200

    fix: Missing builder context causes Nil pointer dereference
---
 pkg/builder/builder.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/pkg/builder/builder.go b/pkg/builder/builder.go
index 8a036dd..5fbf5cf 100644
--- a/pkg/builder/builder.go
+++ b/pkg/builder/builder.go
@@ -68,6 +68,7 @@ func (b *defaultBuilder) Run(build v1.BuilderTask) 
v1.BuildStatus {
 
        c := Context{
                Client:    b.client,
+               C:         b.ctx,
                Path:      buildDir,
                Namespace: build.Meta.Namespace,
                Build:     build,

Reply via email to