Skip to content

Commit

Permalink
preflight: Fix tests with go 1.21
Browse files Browse the repository at this point in the history
  • Loading branch information
cfergeau committed Feb 14, 2024
1 parent d3de739 commit fd63904
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions pkg/crc/preflight/preflight_linux_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ var checkListForDistros = []checkListForDistro{
{check: checkCrcNetworkManagerDispatcherFile},
{check: checkLibvirtCrcNetworkAvailable},
{check: checkLibvirtCrcNetworkActive},
{check: checkBundleExtracted(constants.GetDefaultBundlePath(preset.OpenShift))},
{configKeySuffix: "check-bundle-extracted"},
},
},
{
Expand Down Expand Up @@ -133,7 +133,7 @@ var checkListForDistros = []checkListForDistro{
{check: checkCrcDnsmasqConfigFile},
{check: checkLibvirtCrcNetworkAvailable},
{check: checkLibvirtCrcNetworkActive},
{check: checkBundleExtracted(constants.GetDefaultBundlePath(preset.OpenShift))},
{configKeySuffix: "check-bundle-extracted"},
},
},
{
Expand Down Expand Up @@ -165,7 +165,7 @@ var checkListForDistros = []checkListForDistro{
{check: checkDaemonSystemdService},
{check: checkDaemonSystemdSockets},
{check: checkVsock},
{check: checkBundleExtracted(constants.GetDefaultBundlePath(preset.OpenShift))},
{configKeySuffix: "check-bundle-extracted"},
},
},
{
Expand Down Expand Up @@ -204,7 +204,7 @@ var checkListForDistros = []checkListForDistro{
{check: checkCrcNetworkManagerDispatcherFile},
{check: checkLibvirtCrcNetworkAvailable},
{check: checkLibvirtCrcNetworkActive},
{check: checkBundleExtracted(constants.GetDefaultBundlePath(preset.OpenShift))},
{configKeySuffix: "check-bundle-extracted"},
},
},
{
Expand Down Expand Up @@ -242,7 +242,7 @@ var checkListForDistros = []checkListForDistro{
{check: checkCrcDnsmasqConfigFile},
{check: checkLibvirtCrcNetworkAvailable},
{check: checkLibvirtCrcNetworkActive},
{check: checkBundleExtracted(constants.GetDefaultBundlePath(preset.OpenShift))},
{configKeySuffix: "check-bundle-extracted"},
},
},
{
Expand Down Expand Up @@ -274,7 +274,7 @@ var checkListForDistros = []checkListForDistro{
{check: checkDaemonSystemdService},
{check: checkDaemonSystemdSockets},
{check: checkVsock},
{check: checkBundleExtracted(constants.GetDefaultBundlePath(preset.OpenShift))},
{configKeySuffix: "check-bundle-extracted"},
},
},
{
Expand Down Expand Up @@ -313,7 +313,7 @@ var checkListForDistros = []checkListForDistro{
{check: checkCrcNetworkManagerDispatcherFile},
{check: checkLibvirtCrcNetworkAvailable},
{check: checkLibvirtCrcNetworkActive},
{check: checkBundleExtracted(constants.GetDefaultBundlePath(preset.OpenShift))},
{configKeySuffix: "check-bundle-extracted"},
},
},
{
Expand Down Expand Up @@ -351,7 +351,7 @@ var checkListForDistros = []checkListForDistro{
{check: checkCrcDnsmasqConfigFile},
{check: checkLibvirtCrcNetworkAvailable},
{check: checkLibvirtCrcNetworkActive},
{check: checkBundleExtracted(constants.GetDefaultBundlePath(preset.OpenShift))},
{configKeySuffix: "check-bundle-extracted"},
},
},
{
Expand Down Expand Up @@ -383,7 +383,7 @@ var checkListForDistros = []checkListForDistro{
{check: checkDaemonSystemdService},
{check: checkDaemonSystemdSockets},
{check: checkVsock},
{check: checkBundleExtracted(constants.GetDefaultBundlePath(preset.OpenShift))},
{configKeySuffix: "check-bundle-extracted"},
},
},
{
Expand Down Expand Up @@ -423,7 +423,7 @@ var checkListForDistros = []checkListForDistro{
{check: checkCrcNetworkManagerDispatcherFile},
{check: checkLibvirtCrcNetworkAvailable},
{check: checkLibvirtCrcNetworkActive},
{check: checkBundleExtracted(constants.GetDefaultBundlePath(preset.OpenShift))},
{configKeySuffix: "check-bundle-extracted"},
},
},
{
Expand Down Expand Up @@ -462,7 +462,7 @@ var checkListForDistros = []checkListForDistro{
{check: checkCrcDnsmasqConfigFile},
{check: checkLibvirtCrcNetworkAvailable},
{check: checkLibvirtCrcNetworkActive},
{check: checkBundleExtracted(constants.GetDefaultBundlePath(preset.OpenShift))},
{configKeySuffix: "check-bundle-extracted"},
},
},
{
Expand Down Expand Up @@ -495,7 +495,7 @@ var checkListForDistros = []checkListForDistro{
{check: checkDaemonSystemdSockets},
{configKeySuffix: "check-apparmor-profile-setup"},
{check: checkVsock},
{check: checkBundleExtracted(constants.GetDefaultBundlePath(preset.OpenShift))},
{configKeySuffix: "check-bundle-extracted"},
},
},
}
Expand Down

0 comments on commit fd63904

Please sign in to comment.