Branch: master
Find file History
kanatohodets lint: fix missing error checks (errcheck)
One minor bug fixed: bash filename autocompletion for shipperctl apply
was not working.

One minor judgement call: if we can't set up /metrics, this is a fatal
error.

Examples:

cmd/shipper-state-metrics/main.go:95:21⚠️ error return value not
checked (srv.ListenAndServe()) (errcheck)

cmd/shipper/main.go:255:20⚠️ error return value not checked
(srv.ListenAndServe()) (errcheck)

cmd/shipperctl/cmd/apply.go:47:27⚠️ error return value not
checked (applyCmd.MarkFlagFilename("config", "yaml")) (errcheck)

cmd/shipperctl/cmd/apply.go:48:27⚠️ error return value not
checked (applyCmd.MarkFlagFilename("kube-config", "yaml")) (errcheck)

cmd/shipperctl/cmd/apply.go:387:16⚠️ error return value not
checked (yaml.Unmarshal(configBytes, configuration)) (errcheck)
Latest commit fdff514 Feb 9, 2019