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(
|
||||
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) {
|
||||
addGood(Ext.String.format(gettext('You get supported updates for {0}'), vm.get('product')));
|
||||
} else if (nosubscription || test) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user