Commit e9bfcb92 authored by nanahira's avatar nanahira

add LIMIT_LINKS

parent a3f1b865
......@@ -113,7 +113,7 @@ class InventoryBuilder {
this.linksOnly = process.env.ONLY_LINKS.split(",");
}
if (process.env.LIMIT_LINKS) {
this.linksLimit = process.env.linksLimit.split(",");
this.linksLimit = process.env.LIMIT_LINKS.split(",");
}
this.vars = await this.loadUtilities();
const inventoryValue = { wg: {hosts: Object.fromEntries(Object.values(this.hosts).map(host => [host.name, this.getHostConnectionInfo(host)]))} };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment