File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ pub(crate) fn get_kargs(
72
72
73
73
// Get the kargs in kargs.d of the booted system
74
74
let root = & cap_std:: fs:: Dir :: open_ambient_dir ( "/" , cap_std:: ambient_authority ( ) ) ?;
75
- let mut existing_kargs: Vec < String > = get_kargs_in_root ( root, sys_arch) ?;
75
+ let existing_kargs: Vec < String > = get_kargs_in_root ( root, sys_arch) ?;
76
76
77
77
// Get the kargs in kargs.d of the pending image
78
78
let mut remote_kargs: Vec < String > = vec ! [ ] ;
@@ -83,7 +83,7 @@ pub(crate) fn get_kargs(
83
83
. expect ( "downcast" ) ;
84
84
if !fetched_tree. query_exists ( cancellable) {
85
85
// if the kargs.d directory does not exist in the fetched image, return the existing kargs
86
- kargs. append ( & mut existing_kargs) ;
86
+ kargs. extend ( existing_kargs) ;
87
87
return Ok ( kargs) ;
88
88
}
89
89
let queryattrs = "standard::name,standard::type" ;
You can’t perform that action at this time.
0 commit comments