Skip to content

Commit

Permalink
Merge pull request #4301 from vincent99/master
Browse files Browse the repository at this point in the history
Skip auto-install constraints if upgrading and the version isn't readable
  • Loading branch information
vincent99 authored Sep 28, 2021
2 parents b6e85fc + c3a5406 commit 32f2a4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pages/c/_cluster/apps/charts/install.vue
Original file line number Diff line number Diff line change
Expand Up @@ -887,7 +887,7 @@ export default {
const more = [];
let auto = (this.version.annotations?.[CATALOG_ANNOTATIONS.AUTO_INSTALL] || '').split(/\s*,\s*/).filter(x => !!x).reverse();
let auto = (this.version?.annotations?.[CATALOG_ANNOTATIONS.AUTO_INSTALL] || '').split(/\s*,\s*/).filter(x => !!x).reverse();
for ( const constraint of auto ) {
const provider = this.$store.getters['catalog/versionSatisfying']({
Expand All @@ -904,7 +904,7 @@ export default {
}
}
auto = (this.version.annotations?.[CATALOG_ANNOTATIONS.AUTO_INSTALL_GVK] || '').split(/\s*,\s*/).filter(x => !!x).reverse();
auto = (this.version?.annotations?.[CATALOG_ANNOTATIONS.AUTO_INSTALL_GVK] || '').split(/\s*,\s*/).filter(x => !!x).reverse();
for ( const gvr of auto ) {
const provider = this.$store.getters['catalog/versionProviding']({
Expand Down

0 comments on commit 32f2a4f

Please sign in to comment.