Skip to content

Commit

Permalink
fixup5
Browse files Browse the repository at this point in the history
  • Loading branch information
jisoolee committed Sep 29, 2023
1 parent 65865b7 commit 7b8003e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/api/customRuns.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,7 @@ export function generateNewCustomRunPayload({ customRun, rerun }) {
customRun.metadata;

const payload = deepClone(customRun);
payload.apiVersion =
payload.apiVersion || 'tekton.dev/v1beta1';
payload.apiVersion = payload.apiVersion || 'tekton.dev/v1beta1';
payload.kind = payload.kind || 'CustomRun';

function getGenerateName() {
Expand Down

0 comments on commit 7b8003e

Please sign in to comment.