Skip to content

Commit

Permalink
fix - improving error message
Browse files Browse the repository at this point in the history
  • Loading branch information
rbrishabh committed Sep 11, 2019
1 parent f36c5d8 commit 353c690
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/minikube/service/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ func WaitAndMaybeOpenService(api libmachine.API, namespace string, service strin
chkSVC := func() error { return CheckService(namespace, service) }

if err := retry.Expo(chkSVC, time.Duration(interval)*time.Second, time.Duration(wait)*time.Second); err != nil {
return errors.Wrapf(err, "Could not find finalized endpoint being pointed to by %s", service)
return errors.Wrapf(err, "Service %s was not found in default namespace, please try again with 'minikube service %s -n %s'", service, service, namespace)
}

urls, err := GetServiceURLsForService(api, namespace, service, urlTemplate)
Expand Down

0 comments on commit 353c690

Please sign in to comment.