Skip to content

Commit

Permalink
Added solution message for not found service.
Browse files Browse the repository at this point in the history
  • Loading branch information
aidagha authored and medyagh committed Jun 27, 2019
1 parent d6a839b commit d5ded27
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkg/minikube/problem/err_map.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ func re(s string) *regexp.Regexp {

// vmProblems are VM related problems
var vmProblems = map[string]match{
"SERVICE_NOT_FOUND": {
Regexp: re(`Could not find finalized endpoint being pointed to by`),
Advice: "Please make sure the service you are looking for is deployed or is in the correct namespace.",
Issues: []int{4599},
},
"HYPERKIT_NO_IP": {
Regexp: re(`IP address never found in dhcp leases file Temporary Error: Could not find an IP address for`),
Advice: "Install the latest minikube hyperkit driver, and run 'minikube delete'",
Expand Down

0 comments on commit d5ded27

Please sign in to comment.