Apply suggestions from code review
Apply suggestions from code review

Co-authored-by: JUN YANG <33e5f8759c4792da1f86ee9d5e7d992f108e9151@zte.com.cn>
kubernetes/kube-state-metrics,kubernetes/kube-state-metrics