fix(core): update
This commit is contained in:
@@ -11,4 +11,14 @@ export class BobcatManager {
|
||||
const newBobcat = await Bobcat.createFromNetworkAddress(networkAddressArg);
|
||||
this.bobcats.push(newBobcat);
|
||||
}
|
||||
|
||||
/**
|
||||
* runs the maintenance on all managed bobcats
|
||||
*/
|
||||
public async runMaintenance() {
|
||||
console.log(`now running maintenance on ${this.bobcats.length} bobcats!`);
|
||||
for (const bobcat of this.bobcats) {
|
||||
await bobcat.runMaintenance();
|
||||
}
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user