Update func name (#5241)

Signed-off-by: xichengliudui <1693291525@qq.com>
pull/5245/head
lIuDuI 7 years ago committed by Matthew Fisher
parent a2b1afc66b
commit 7161095f79

@ -183,7 +183,7 @@ func generateLabels(labels map[string]string) map[string]string {
return labels return labels
} }
// parseNodeSelectors parses a comma delimited list of key=values pairs into a map. // parseNodeSelectorsInto parses a comma delimited list of key=values pairs into a map.
func parseNodeSelectorsInto(labels string, m map[string]string) error { func parseNodeSelectorsInto(labels string, m map[string]string) error {
kv := strings.Split(labels, ",") kv := strings.Split(labels, ",")
for _, v := range kv { for _, v := range kv {

@ -50,7 +50,7 @@ type Options struct {
// AutoMountServiceAccountToken determines whether or not the service account should be added to Tiller. // AutoMountServiceAccountToken determines whether or not the service account should be added to Tiller.
AutoMountServiceAccountToken bool AutoMountServiceAccountToken bool
// Force allows to force upgrading tiller if deployed version is greater than current version // ForceUpgrade allows to force upgrading tiller if deployed version is greater than current version
ForceUpgrade bool ForceUpgrade bool
// ImageSpec identifies the image Tiller will use when deployed. // ImageSpec identifies the image Tiller will use when deployed.

Loading…
Cancel
Save