File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -425,9 +425,7 @@ pub fn parse_config<S: Strings>(strings: &S) -> Result<super::Config, EnvError>
425425 let inbound_ips = {
426426 let ips = parse ( strings, ENV_INBOUND_IPS , parse_ip_set) ?. unwrap_or_default ( ) ;
427427 if ips. is_empty ( ) {
428- info ! (
429- "`{ENV_INBOUND_IPS}` allowlist not configured, allowing all target addresses" ,
430- ) ;
428+ info ! ( "`{ENV_INBOUND_IPS}` allowlist not configured, allowing all target addresses" , ) ;
431429 } else {
432430 debug ! ( allowed = ?ips, "Only allowing connections targeting `{ENV_INBOUND_IPS}`" ) ;
433431 }
@@ -692,9 +690,7 @@ pub fn parse_config<S: Strings>(strings: &S) -> Result<super::Config, EnvError>
692690 // The workload, which is opaque from the proxy's point-of-view, is sent to the
693691 // policy controller to support policy discovery.
694692 let workload = strings. get ( ENV_POLICY_WORKLOAD ) ?. ok_or_else ( || {
695- error ! (
696- "{ENV_POLICY_WORKLOAD} must be set with {ENV_POLICY_SVC_BASE}_ADDR" ,
697- ) ;
693+ error ! ( "{ENV_POLICY_WORKLOAD} must be set with {ENV_POLICY_SVC_BASE}_ADDR" , ) ;
698694 EnvError :: InvalidEnvVar
699695 } ) ?;
700696
@@ -1243,9 +1239,7 @@ pub fn parse_identity_config<S: Strings>(
12431239 . map ( |d| !d. is_empty ( ) )
12441240 . unwrap_or ( false )
12451241 {
1246- error ! (
1247- "{ENV_IDENTITY_DISABLED} is no longer supported. Identity is must be enabled."
1248- ) ;
1242+ error ! ( "{ENV_IDENTITY_DISABLED} is no longer supported. Identity is must be enabled." ) ;
12491243 return Err ( EnvError :: InvalidEnvVar ) ;
12501244 }
12511245
You can’t perform that action at this time.
0 commit comments