From 357f9a1e984fbaf89691370aac58849e7115ddc7 Mon Sep 17 00:00:00 2001 From: Aman Date: Wed, 22 Feb 2017 18:55:02 +0530 Subject: [PATCH] feat(gitreceive): fix type of dockerBuildArgs --- pkg/gitreceive/k8s_util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/gitreceive/k8s_util.go b/pkg/gitreceive/k8s_util.go index 16af5af..c0bb172 100644 --- a/pkg/gitreceive/k8s_util.go +++ b/pkg/gitreceive/k8s_util.go @@ -67,7 +67,7 @@ func dockerBuilderPod( // // So we need to translate the map into json. dockerBuildArgs, _ := json.Marshal(env) - addEnvToPod(pod, "DOCKER_BUILD_ARGS", dockerBuildArgs) + addEnvToPod(pod, "DOCKER_BUILD_ARGS", string(dockerBuildArgs)) pod.Spec.Containers[0].Name = dockerBuilderName pod.Spec.Containers[0].Image = image