Merge pull request #79219 from alvaroaleman/sample-controller-klog-init

Sample controller: Init flags
This commit is contained in:
Kubernetes Prow Robot 2019-06-25 02:30:35 -07:00 committed by GitHub
commit 9273ce7711
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,6 +38,7 @@ var (
)
func main() {
klog.InitFlags(nil)
flag.Parse()
// set up signals so we handle the first shutdown signal gracefully