Compare commits
3 Commits
3a62a4683e
...
3585e4bf15
Author | SHA1 | Date |
---|---|---|
|
3585e4bf15 | |
|
1b36bd7c83 | |
|
673f45c0e4 |
|
@ -3,7 +3,7 @@ if (resp.result !== 0) return resp;
|
|||
var envs = [];
|
||||
var nodes = {};
|
||||
for (var i = 0, envInfo, env; envInfo = resp.infos[i]; i++) {
|
||||
if (envInfo.envGroups.includes("WP Backup") || envInfo.envGroups.includes("Backup storage nodes")) {
|
||||
if ( envInfo.envGroups.includes("Backup storage nodes") ) {
|
||||
env = envInfo.env
|
||||
if (env.status == 1) {
|
||||
for (var j = 0, node; node = envInfo.nodes[j]; j++) {
|
||||
|
|
Loading…
Reference in New Issue