Skip to content

Commit

Permalink
fix: fix create_job argument on cronjob trigger (#293)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhu2000 authored Apr 4, 2023
1 parent 1e1936b commit 51c9828
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/kube-knots/src/components/resource-trigger-modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export function ResourceTriggerModal({
return invoke("create_job", {
context: currentContext,
namespace: cronjob.metadata?.namespace,
job: formatCronjobAsJob(cronjob),
resource: formatCronjobAsJob(cronjob),
});
},
onSuccess: (_data, variables) => {
Expand Down

0 comments on commit 51c9828

Please sign in to comment.