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
parent
cd9a7e7305
commit
2ad4cae53a
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue