diff --git a/command/loadgen.go b/command/loadgen.go index 24f107c56..82dfb0455 100644 --- a/command/loadgen.go +++ b/command/loadgen.go @@ -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 }