Skip to content

Commit 420198b

Browse files
committed
fix: TestUpdateDefaultGrubFileKernelCommandLineArgsExistingVar
1 parent 6b35fc4 commit 420198b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

toolkit/tools/pkg/imagecustomizerlib/defaultgrubutils_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ func TestUpdateDefaultGrubFileKernelCommandLineArgsMissingVar(t *testing.T) {
2121
}
2222

2323
func TestUpdateDefaultGrubFileKernelCommandLineArgsExistingVar(t *testing.T) {
24-
content := `GRUB_CMDLINE_LINUX="rd.auto=1"` + "\n"
24+
content := `GRUB_CMDLINE_LINUX_DEFAULT="rd.auto=1"` + "\n"
2525

2626
result, err := updateDefaultGrubFileKernelCommandLineArgs(content,
2727
defaultGrubFileVarNameCmdlineLinuxDefault,

0 commit comments

Comments
 (0)