Skip to content

Commit

Permalink
fix nodejs network example
Browse files Browse the repository at this point in the history
  • Loading branch information
rawdaGastan committed Dec 1, 2024
1 parent b771e20 commit 9ac9e4c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/nodejs/network/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import * as threefold from "@threefold/pulumi";
var rand_str = Math.random().toString(36).slice(8)

const provider = new threefold.Provider("provider", {mnemonic: process.env.MNEMONIC, network: process.env.NETWORK});
const scheduler = new threefold.Scheduler("scheduler", {farm_ids: [1]}, {
const scheduler = new threefold.Scheduler("scheduler", {farm_ids: [1], ygg: true}, {
provider: provider,
});
const network = new threefold.Network("network", {
Expand All @@ -12,7 +12,6 @@ const network = new threefold.Network("network", {
nodes: [scheduler.nodes[0]],
ip_range: "10.1.0.0/16",
mycelium: true,
ygg: true,
}, {
provider: provider,
dependsOn: [scheduler],
Expand Down

0 comments on commit 9ac9e4c

Please sign in to comment.