Skip to content

Commit

Permalink
Merge pull request kubernetes#83881 from SataQiu/fix-kubelet-20191014
Browse files Browse the repository at this point in the history
Fix bug of kubelet enable-cadvisor-json-endpoints flag
  • Loading branch information
k8s-ci-robot authored Oct 29, 2019
2 parents 362e17f + 90db2a4 commit c16f668
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/kubelet/app/options/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ func (f *KubeletFlags) AddFlags(mainfs *pflag.FlagSet) {
fs.BoolVar(&f.KeepTerminatedPodVolumes, "keep-terminated-pod-volumes", f.KeepTerminatedPodVolumes, "Keep terminated pod volumes mounted to the node after the pod terminates. Can be useful for debugging volume related issues.")
fs.MarkDeprecated("keep-terminated-pod-volumes", "will be removed in a future version")
fs.BoolVar(&f.EnableCAdvisorJSONEndpoints, "enable-cadvisor-json-endpoints", f.EnableCAdvisorJSONEndpoints, "Enable cAdvisor json /spec and /stats/* endpoints.")
fs.MarkDeprecated("enable-cadvisor-json-apis", "will be removed in a future version")
fs.MarkDeprecated("enable-cadvisor-json-endpoints", "will be removed in a future version")

}

Expand Down

0 comments on commit c16f668

Please sign in to comment.