From 69e883493bd6f811f286ca338d7217635b09405c Mon Sep 17 00:00:00 2001 From: Brent Baude Date: Fri, 4 Aug 2023 09:10:10 -0500 Subject: [PATCH] Fix regression for hyperv the method caller for creating the ignition file was accidently misordered for hyperv. this regression was caused by aa6827a6. Signed-off-by: Brent Baude [NO NEW TESTS NEEDED] --- pkg/machine/hyperv/machine.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/machine/hyperv/machine.go b/pkg/machine/hyperv/machine.go index 371daa57a1..defe3fcd4c 100644 --- a/pkg/machine/hyperv/machine.go +++ b/pkg/machine/hyperv/machine.go @@ -266,7 +266,7 @@ func (m *HyperVMachine) Init(opts machine.InitOptions) (bool, error) { user = machine.DefaultIgnitionUserName } // Write the ignition file - if err := m.writeIgnitionConfigFile(opts, key, user); err != nil { + if err := m.writeIgnitionConfigFile(opts, user, key); err != nil { return false, err } // The ignition file has been written. We now need to