File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -329,7 +329,7 @@ spec:
329
329
330
330
let spark_image = spark_application. spec . spark_image . as_ref ( ) . unwrap ( ) ;
331
331
let pod_template_config_map =
332
- pod_template_config_map ( & spark_application, & spark_image) . unwrap ( ) ;
332
+ pod_template_config_map ( & spark_application, spark_image) . unwrap ( ) ;
333
333
334
334
assert ! ( & pod_template_config_map. binary_data. is_none( ) ) ;
335
335
assert_eq ! (
@@ -339,7 +339,6 @@ spec:
339
339
assert_eq ! (
340
340
Some ( "b4952dc3-d670-11e5-8cd0-68f728db1985" . to_string( ) ) ,
341
341
pod_template_config_map
342
- . clone( )
343
342
. metadata
344
343
. owner_references
345
344
. map( |r| r[ 0 ] . uid. to_string( ) )
@@ -399,10 +398,7 @@ spec:
399
398
400
399
assert_eq ! (
401
400
Some ( "b4952dc3-d670-11e5-8cd0-68f728db1985" . to_string( ) ) ,
402
- job. clone( )
403
- . metadata
404
- . owner_references
405
- . map( |r| r[ 0 ] . uid. to_string( ) )
401
+ job. metadata. owner_references. map( |r| r[ 0 ] . uid. to_string( ) )
406
402
) ;
407
403
}
408
404
}
You can’t perform that action at this time.
0 commit comments