@@ -88,7 +88,7 @@ pub struct Cli {
8888 pub mode : Mode ,
8989
9090 /// public address for the parseable server ingestor
91- pub ingestor_url : String ,
91+ pub ingestor_endpoint : String ,
9292}
9393
9494impl Cli {
@@ -115,7 +115,7 @@ impl Cli {
115115 pub const ROW_GROUP_SIZE : & ' static str = "row-group-size" ;
116116 pub const PARQUET_COMPRESSION_ALGO : & ' static str = "compression-algo" ;
117117 pub const MODE : & ' static str = "mode" ;
118- pub const INGESTOR_URL : & ' static str = "ingestor-url " ;
118+ pub const INGESTOR_ENDPOINT : & ' static str = "ingestor-endpoint " ;
119119 pub const DEFAULT_USERNAME : & ' static str = "admin" ;
120120 pub const DEFAULT_PASSWORD : & ' static str = "admin" ;
121121
@@ -317,9 +317,9 @@ impl Cli {
317317 . help ( "Mode of operation" ) ,
318318 )
319319 . arg (
320- Arg :: new ( Self :: INGESTOR_URL )
321- . long ( Self :: INGESTOR_URL )
322- . env ( "P_INGESTOR_URL " )
320+ Arg :: new ( Self :: INGESTOR_ENDPOINT )
321+ . long ( Self :: INGESTOR_ENDPOINT )
322+ . env ( "P_INGESTOR_ENDPOINT " )
323323 . value_name ( "URL" )
324324 . required ( false )
325325 . help ( "URL to connect to this specific ingestor. Default is the address of the server." )
@@ -367,8 +367,8 @@ impl FromArgMatches for Cli {
367367 . cloned ( )
368368 . expect ( "default value for address" ) ;
369369
370- self . ingestor_url = m
371- . get_one :: < String > ( Self :: INGESTOR_URL )
370+ self . ingestor_endpoint = m
371+ . get_one :: < String > ( Self :: INGESTOR_ENDPOINT )
372372 . cloned ( )
373373 . unwrap_or_else ( String :: default) ;
374374
0 commit comments