fix make extract

> err_map.go is not gone, it was just renamed in a recent refactor:
> https://github.com/kubernetes/minikube/blob/master/pkg/minikube/reason/known_issues.go

$ make extract
go run cmd/extract/extract.go
panic: err_map.go doesn't exist

goroutine 1 [running]:
main.main()
	/home/lizj/workspace/k8s/minikube/cmd/extract/extract.go:47 +0x1b4
exit status 2
Makefile:304: recipe for target 'extract' failed
make: *** [extract] Error 1

Fixes #9126
Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com>
pull/9152/head
Li Zhijian 2020-09-02 09:49:23 +08:00
parent cd9a7e7305
commit 2ad4cae53a
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ var exclude = []string{
}
// ErrMapFile is a constant to refer to the err_map file, which contains the Advice strings.
const ErrMapFile string = "pkg/minikube/problem/err_map.go"
const ErrMapFile string = "pkg/minikube/reason/known_issues.go"
// state is a struct that represent the current state of the extraction process
type state struct {