File tree 4 files changed +4
-5
lines changed
4 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -112,5 +112,5 @@ pub(crate) fn handle_buildpack_error(error: JvmFunctionInvokerBuildpackError) {
112
112
" } ,
113
113
) ,
114
114
} ,
115
- } ;
115
+ }
116
116
}
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ pub(crate) fn handle_bundle(
57
57
Some ( 2 ) => Err ( BundleLayerError :: MultipleFunctionsFound ) ?,
58
58
Some ( code) => Err ( BundleLayerError :: DetectionFailed ( code) ) ?,
59
59
None => Err ( BundleLayerError :: UnexpectedDetectionTermination ) ?,
60
- } ;
60
+ }
61
61
62
62
Ok ( ( ) )
63
63
}
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ fn jvm_env_vars_for_env(
42
42
// Handling for Spring specific JDBC environment variables
43
43
let disable_spring_datasource_url = input
44
44
. get ( "DISABLE_SPRING_DATASOURCE_URL" )
45
- . map_or ( false , |value| value == "true" ) ;
45
+ . is_some_and ( |value| value == "true" ) ;
46
46
47
47
if !disable_spring_datasource_url
48
48
&& !input. contains_key ( "SPRING_DATASOURCE_URL" )
@@ -124,7 +124,7 @@ fn env_vars_for_database_url(
124
124
url. set_scheme ( "postgresql" )
125
125
. map_err ( |( ) | DatabaseEnvVarError :: CannotSetScheme ) ?;
126
126
url. query_pairs_mut ( ) . append_pair ( "sslmode" , "require" ) ;
127
- } ;
127
+ }
128
128
129
129
Ok ( HashMap :: from ( [
130
130
(
Original file line number Diff line number Diff line change 49
49
None | Some ( None ) => return result,
50
50
Some ( Some ( backoff_duration) ) => {
51
51
std:: thread:: sleep ( backoff_duration) ;
52
- continue ;
53
52
}
54
53
} ,
55
54
}
You can’t perform that action at this time.
0 commit comments