with this patch, we do not hide the ceph status anymore if the api call
fails (too slow, e.g.) as long as we showed it at least one time
also, we only stop the updates if we never successfully got the status
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
var me = this;
var cephstatus = me.getComponent('ceph');
if (!success || records.length < 1) {
+
+ // if ceph status is already visible
+ // dont stop to update
+ if (cephstatus.isVisible()) {
+ return;
+ }
me.cepherrors++;
- cephstatus.setVisible(false);
// after 3 unsuccessful tries of
// /nodes/localhost/ceph/status