mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-08-06 14:47:28 +00:00
node: repos: always skip "you get updates" on parsing error
As normally that means that the host does not gets updates, as most apt use will fail too. Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
4227a5578a
commit
6bac17e394
@ -463,6 +463,8 @@ Ext.define('Proxmox.node.APTRepositories', {
|
|||||||
addCritical(
|
addCritical(
|
||||||
Ext.String.format(gettext('No {0} repository is enabled, you do not get any updates!'), vm.get('product')),
|
Ext.String.format(gettext('No {0} repository is enabled, you do not get any updates!'), vm.get('product')),
|
||||||
);
|
);
|
||||||
|
} else if (errors.length > 0) {
|
||||||
|
// nothing extra, just avoid that we show "get updates"
|
||||||
} else if (enterprise && !nosubscription && !test && activeSubscription) {
|
} else if (enterprise && !nosubscription && !test && activeSubscription) {
|
||||||
addGood(Ext.String.format(gettext('You get supported updates for {0}'), vm.get('product')));
|
addGood(Ext.String.format(gettext('You get supported updates for {0}'), vm.get('product')));
|
||||||
} else if (nosubscription || test) {
|
} else if (nosubscription || test) {
|
||||||
|
Loading…
Reference in New Issue
Block a user