Skip to content

Commit 7fd02cb

Browse files
authored
Merge pull request #485 from mboersma/fix-hardcoded-namespace
fix(gitreceive/build.go): watch pods in the appropriate namespace
2 parents e60183f + e1e3452 commit 7fd02cb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/gitreceive/build.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ func build(
237237
return fmt.Errorf("creating builder pod (%s)", err)
238238
}
239239

240-
pw := k8s.NewPodWatcher(kubeClient, "deis")
240+
pw := k8s.NewPodWatcher(kubeClient, conf.PodNamespace)
241241
stopCh := make(chan struct{})
242242
defer close(stopCh)
243243
go pw.Controller.Run(stopCh)

0 commit comments

Comments
 (0)