Merge pull request #1105 from technosophos/ref/move-pkg-client

ref(pkg/client): move pkg/client to cmd/helm/installer
reviewable/pr1118/r1
Matt Butcher 8 years ago committed by GitHub
commit 2547bf4b89

@ -25,7 +25,7 @@ import (
"github.com/spf13/cobra" "github.com/spf13/cobra"
"k8s.io/helm/pkg/client" "k8s.io/helm/cmd/helm/installer"
) )
const initDesc = ` const initDesc = `
@ -71,7 +71,7 @@ func (i *initCmd) run() error {
} }
if !i.clientOnly { if !i.clientOnly {
if err := client.Install(tillerNamespace, i.image, flagDebug); err != nil { if err := installer.Install(tillerNamespace, i.image, flagDebug); err != nil {
if !strings.Contains(err.Error(), `"tiller-deploy" already exists`) { if !strings.Contains(err.Error(), `"tiller-deploy" already exists`) {
return fmt.Errorf("error installing: %s", err) return fmt.Errorf("error installing: %s", err)
} }

@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
*/ */
package client // import "k8s.io/helm/pkg/client" package installer // import "k8s.io/helm/cmd/helm/installer"
import ( import (
"bytes" "bytes"
Loading…
Cancel
Save