Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Config load error handling doesn't mention the file path #1250

Closed
christopherhein opened this issue Nov 7, 2020 · 0 comments · Fixed by #1251
Closed

Config load error handling doesn't mention the file path #1250

christopherhein opened this issue Nov 7, 2020 · 0 comments · Fixed by #1251

Comments

@christopherhein
Copy link
Member

christopherhein commented Nov 7, 2020

go run ./main.go
2020-11-06T20:54:59.837-0800    ERROR   setup   unable to load the config file  {"error": "file could not be read from filesystem"}
github.com/go-logr/zapr.(*zapLogger).Error
        /Users/chris/Code/pkg/mod/github.com/go-logr/zapr@v0.2.0/zapr.go:132
main.main
        /Users/chris/Code/src/sigs.k8s.io/kubebuilder/sample/main.go:61
runtime.main
        /usr/local/Cellar/go/1.15.2/libexec/src/runtime/proc.go:204
exit status 1
make: *** [run] Error 1

https://github.com/kubernetes-sigs/controller-runtime/blob/master/pkg/config/config.go#L101

Ref #895

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant