From c7a89161b17ee52db5544368aaaa7bd70a462106 Mon Sep 17 00:00:00 2001 From: Marco Munizaga Date: Wed, 13 Apr 2022 10:49:07 -0700 Subject: [PATCH] Plumb external-address-mapping --- command/loadgen.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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 }