Skip to content

Commit 357f9a1

Browse files
committed
feat(gitreceive): fix type of dockerBuildArgs
1 parent b91c8a0 commit 357f9a1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/gitreceive/k8s_util.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ func dockerBuilderPod(
6767
//
6868
// So we need to translate the map into json.
6969
dockerBuildArgs, _ := json.Marshal(env)
70-
addEnvToPod(pod, "DOCKER_BUILD_ARGS", dockerBuildArgs)
70+
addEnvToPod(pod, "DOCKER_BUILD_ARGS", string(dockerBuildArgs))
7171

7272
pod.Spec.Containers[0].Name = dockerBuilderName
7373
pod.Spec.Containers[0].Image = image

0 commit comments

Comments
 (0)