Skip to content

Commit

Permalink
Fix [Functions Panel] clicking on deploy should not try to build a ne…
Browse files Browse the repository at this point in the history
…w image (#2094)
  • Loading branch information
mariana-furyk authored and ilan7empest committed Dec 4, 2023
1 parent f24dd57 commit 51cf51b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/FunctionsPanel/FunctionsPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ const FunctionsPanel = ({
const with_mlrun = functionsStore.newFunction.spec.build.requirements.includes(
appStore.frontendSpec?.function_deployment_mlrun_requirement
)
const skip_deployed = imageType === EXISTING_IMAGE

const data = {
function: {
Expand All @@ -171,6 +172,7 @@ const FunctionsPanel = ({
}
}
},
skip_deployed,
with_mlrun
}

Expand Down

0 comments on commit 51cf51b

Please sign in to comment.