Skip to content
This repository has been archived by the owner on Mar 24, 2024. It is now read-only.

Commit

Permalink
fix(bootstrapper): use correct process regex for Porto
Browse files Browse the repository at this point in the history
  • Loading branch information
tdakkota committed Feb 8, 2024
1 parent 7f1b39d commit 3f6fade
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/minikube/bootstrapper/bsutil/kverify/api_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func WaitForAPIServerProcess(r cruntime.Manager, bs bootstrapper.Bootstrapper, c

// APIServerPID returns our best guess to the apiserver pid
func APIServerPID(cr command.Runner) (int, error) {
rr, err := cr.RunCmd(exec.Command("sudo", "pgrep", "-xnf", "kube-apiserver.*minikube.*"))
rr, err := cr.RunCmd(exec.Command("sudo", "pgrep", "-xnf", ".*kube-apiserver.*"))
if err != nil {
return 0, err
}
Expand Down

0 comments on commit 3f6fade

Please sign in to comment.