Skip to content

Commit

Permalink
Destination controller should initialize jobs metadata api
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Leong <[email protected]>
  • Loading branch information
adleong committed Oct 26, 2023
1 parent ce950d1 commit cf324a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controller/cmd/destination/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit cf324a7

Please sign in to comment.