Skip to content

Commit

Permalink
preflight: Don't export CheckNetworkManagerIsRunning
Browse files Browse the repository at this point in the history
Most likely a small typo as this method does not need to be exported.
  • Loading branch information
cfergeau authored and praveenkumar committed Feb 14, 2020
1 parent f613293 commit 6f457dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/crc/preflight/preflight_checks_linux.go
Expand Up @@ -528,7 +528,7 @@ func fixNetworkManagerInstalled() error {
return fmt.Errorf("NetworkManager is required and must be installed manually")
}

func CheckNetworkManagerIsRunning() error {
func checkNetworkManagerIsRunning() error {
logging.Debug("Checking if NetworkManager.service is running")
path, err := exec.LookPath("systemctl")
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion pkg/crc/preflight/preflight_linux.go
Expand Up @@ -90,7 +90,7 @@ var libvirtPreflightChecks = [...]PreflightCheck{
{
configKeySuffix: "check-network-manager-running",
checkDescription: "Checking if NetworkManager service is running",
check: CheckNetworkManagerIsRunning,
check: checkNetworkManagerIsRunning,
fixDescription: "Checking if NetworkManager service is running",
fix: fixNetworkManagerIsRunning,
},
Expand Down

0 comments on commit 6f457dc

Please sign in to comment.