Skip to content

Commit

Permalink
Plumb external-address-mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoPolo committed May 16, 2022
1 parent 0a3b92d commit c7a8916
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions command/loadgen.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,10 @@ func loadGenCmd(cctx *cli.Context) error {
}

loadgen.StartLoadGen(cctx.Context, config, loadgen.LoadGenOpts{
IndexerAddr: cctx.String("indexer"),
ConcurrentProviders: cctx.Uint("concurrentProviders"),
ListenForInterrupt: true,
IndexerAddr: cctx.String("indexer"),
ConcurrentProviders: cctx.Uint("concurrentProviders"),
ListenForInterrupt: true,
ExternalAddressMapping: parseKVs(cctx.String("external-address-mappping")),
})
return nil
}
Expand Down

0 comments on commit c7a8916

Please sign in to comment.