Skip to content

Commit

Permalink
ceph request only for nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
arteck committed Jan 5, 2025
1 parent 200c949 commit 41a98ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -958,7 +958,7 @@ class Proxmox extends utils.Adapter {
await this.setStateChangedAsync(`${sid}.status`, { val: node.status, ack: true });

if (node.status !== 'offline') {
if (this.config.requestCephInformation) {
if (this.config.requestCephInformation && node.type === 'node') {
await this.setCeph();
}

Expand Down

0 comments on commit 41a98ba

Please sign in to comment.