From 3206f96d70edf9d6691f2b60528cebf281fd52af Mon Sep 17 00:00:00 2001 From: knightXun <1004815462@qq.com> Date: Wed, 29 Mar 2017 20:21:13 +0800 Subject: [PATCH] Update stateful_set_utils.go find a syntax error,please check it. --- pkg/controller/statefulset/stateful_set_utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/controller/statefulset/stateful_set_utils.go b/pkg/controller/statefulset/stateful_set_utils.go index 672fd5b165a..efe795da54e 100644 --- a/pkg/controller/statefulset/stateful_set_utils.go +++ b/pkg/controller/statefulset/stateful_set_utils.go @@ -89,7 +89,7 @@ func getPodName(set *apps.StatefulSet, ordinal int) string { return fmt.Sprintf("%s-%d", set.Name, ordinal) } -// getPersistentVolumeClaimName getsthe name of PersistentVolumeClaim for a Pod with an ordinal index of ordinal. claim +// getPersistentVolumeClaimName gets the name of PersistentVolumeClaim for a Pod with an ordinal index of ordinal. claim // must be a PersistentVolumeClaim from set's VolumeClaims template. func getPersistentVolumeClaimName(set *apps.StatefulSet, claim *v1.PersistentVolumeClaim, ordinal int) string { // NOTE: This name format is used by the heuristics for zone spreading in ChooseZoneForVolume