Skip to content

node-problem-detector --version should not require monitors specify #269

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

Closed
Lion-Wei opened this issue Apr 17, 2019 · 0 comments · Fixed by #270
Closed

node-problem-detector --version should not require monitors specify #269

Lion-Wei opened this issue Apr 17, 2019 · 0 comments · Fixed by #270

Comments

@Lion-Wei
Copy link

Currently node-problem-detector --version command request monitor specified

./node-problem-detector --version
panic: Either --system-log-monitors or --custom-plugin-monitors is required

goroutine 1 [running]:
k8s.io/node-problem-detector/cmd/options.(*NodeProblemDetectorOptions).ValidOrDie(0xc000175900)
	/usr1/go/src/k8s.io/node-problem-detector/cmd/options/options.go:99 +0x13d
main.main()
	/usr1/go/src/k8s.io/node-problem-detector/cmd/node_problem_detector.go:65 +0x82

That's not necessary, and if we use node-problem-detector --version --system-log-monitors=./, that would be little weird.

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