From 93b01edd4f7144accdd067387e8b489a3f4b2435 Mon Sep 17 00:00:00 2001
From: Matt Butcher <mbutcher@engineyard.com>
Date: Thu, 19 May 2016 16:00:39 -0600
Subject: [PATCH] fix(helm): change TILLER_HOST to HELM_HOST

This makes the naming of client-side environment variables consistent.
---
 cmd/helm/helm.go | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/cmd/helm/helm.go b/cmd/helm/helm.go
index 816ca455d..9590ead7e 100644
--- a/cmd/helm/helm.go
+++ b/cmd/helm/helm.go
@@ -14,7 +14,7 @@ import (
 const (
 	homeEnvVar  = "HELM_HOME"
 	defaultHome = "$HOME/.helm" // FIXME: is $HOME windows compatible?
-	hostEnvVar  = "TILLER_HOST"
+	hostEnvVar  = "HELM_HOST"
 	defaultHost = ":44134"
 )
 
@@ -42,7 +42,7 @@ Common actions from this point include:
 
 Environment:
   $HELM_HOME    Set an alternative location for Helm files. By default, these are stored in ~/.helm
-  $TILLER_HOST  Set an alternative Tiller host. The format is host:port (default ":44134").
+  $HELM_HOST  Set an alternative Tiller host. The format is host:port (default ":44134").
 `
 
 // RootCommand is the top-level command for Helm.
@@ -64,7 +64,7 @@ func init() {
 	}
 	p := RootCommand.PersistentFlags()
 	p.StringVar(&helmHome, "home", home, "location of your Helm config. Overrides $HELM_HOME.")
-	p.StringVar(&tillerHost, "host", thost, "address of tiller. Overrides $TILLER_HOST.")
+	p.StringVar(&tillerHost, "host", thost, "address of tiller. Overrides $HELM_HOST.")
 	p.BoolVarP(&flagVerbose, "verbose", "v", false, "enable verbose output")
 }
 
-- 
GitLab