Skip to content

Commit

Permalink
making allocation flag global
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Wyatt Daviau <wdaviau@cs.stanford.edu>
  • Loading branch information
ZenGround0 committed Feb 8, 2018
1 parent a180f1a commit cf6712f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ipfs-cluster-service/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ func daemon(c *cli.Context) error {
tracker := maptracker.NewMapPinTracker(trackerCfg, clusterCfg.ID)
mon, err := basic.NewMonitor(monCfg)
checkErr("creating Monitor component", err)
informer, alloc := setupAllocation(c.String("alloc"), diskInfCfg, numpinInfCfg)
informer, alloc := setupAllocation(c.GlobalString("alloc"), diskInfCfg, numpinInfCfg)

cluster, err := ipfscluster.NewCluster(
clusterCfg,
Expand Down

0 comments on commit cf6712f

Please sign in to comment.