Skip to content

Commit 4d4ce63

Browse files
Copilotjmarrero
andauthored
fixup: remove unused rootarg variable in test
Agent-Logs-Url: https://github.com/bootc-dev/bootc/sessions/7dbb3976-a279-4956-9def-781e7159fc8f Co-authored-by: jmarrero <1894385+jmarrero@users.noreply.github.com>
1 parent 5d4efe8 commit 4d4ce63

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

crates/lib/src/install.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3233,12 +3233,12 @@ UUID=boot-uuid /boot ext4 defaults 0 0
32333233
mount_spec: String::new(),
32343234
kargs: vec!["rootflags=subvol=root".to_string()],
32353235
};
3236-
let rootarg = format!("root={}", root_info.mount_spec);
32373236

32383237
// Mimics the karg-building logic in install_to_filesystem()
32393238
let kargs: Vec<String> = if root_info.mount_spec.is_empty() {
32403239
root_info.kargs.clone()
32413240
} else {
3241+
let rootarg = format!("root={}", root_info.mount_spec);
32423242
std::iter::once(rootarg)
32433243
.chain(root_info.kargs.iter().cloned())
32443244
.collect()

0 commit comments

Comments
 (0)