diff --git a/controller/cmd/destination/main.go b/controller/cmd/destination/main.go index 68bb191f47575..b36befc25de2a 100644 --- a/controller/cmd/destination/main.go +++ b/controller/cmd/destination/main.go @@ -117,7 +117,7 @@ func Main(args []string) { log.Fatalf("Failed to initialize K8s API: %s", err) } - metadataAPI, err := k8s.InitializeMetadataAPI(*kubeConfigPath, "local", k8s.Node, k8s.RS) + metadataAPI, err := k8s.InitializeMetadataAPI(*kubeConfigPath, "local", k8s.Node, k8s.RS, k8s.Job) if err != nil { log.Fatalf("Failed to initialize Kubernetes metadata API: %s", err) }