File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1118,7 +1118,7 @@ namespace = "my-namespace"
11181118 ..Default :: default ( )
11191119 } ;
11201120
1121- let profile = load_client_config_profile ( options, Some ( & HashMap :: new ( ) ) ) . unwrap ( ) ;
1121+ let profile = load_client_config_profile ( options, None ) . unwrap ( ) ;
11221122 assert_eq ! ( profile. address. as_ref( ) . unwrap( ) , "my-address" ) ;
11231123 assert_eq ! ( profile. namespace. as_ref( ) . unwrap( ) , "my-namespace" ) ;
11241124 }
@@ -1508,7 +1508,7 @@ address = "localhost:7233"
15081508 } ;
15091509
15101510 // Should not error, just returns an empty profile
1511- let profile = load_client_config_profile ( options, Some ( & HashMap :: new ( ) ) ) . unwrap ( ) ;
1511+ let profile = load_client_config_profile ( options, None ) . unwrap ( ) ;
15121512 assert_eq ! ( profile, ClientConfigProfile :: default ( ) ) ;
15131513 }
15141514
@@ -1584,7 +1584,7 @@ address = "some-address"
15841584 ..Default :: default ( )
15851585 } ;
15861586
1587- let profile = load_client_config_profile ( options, Some ( & HashMap :: new ( ) ) ) . unwrap ( ) ;
1587+ let profile = load_client_config_profile ( options, None ) . unwrap ( ) ;
15881588
15891589 // TLS should not be enabled
15901590 assert ! ( profile. tls. is_none( ) ) ;
You can’t perform that action at this time.
0 commit comments