No underscores in variable names. Add option to set hostname at command line.

This commit is contained in:
Daniel Smith
2014-06-15 10:24:36 -07:00
parent 229ccb0fa3
commit a047dc4930
2 changed files with 12 additions and 8 deletions

View File

@@ -27,7 +27,7 @@ import (
"os"
"time"
kube_client "github.com/GoogleCloudPlatform/kubernetes/pkg/client"
"github.com/GoogleCloudPlatform/kubernetes/pkg/client"
"github.com/GoogleCloudPlatform/kubernetes/pkg/registry"
"github.com/GoogleCloudPlatform/kubernetes/pkg/util"
"github.com/coreos/go-etcd/etcd"
@@ -49,7 +49,7 @@ func main() {
etcd.SetLogger(log.New(os.Stderr, "etcd ", log.LstdFlags))
controllerManager := registry.MakeReplicationManager(etcd.NewClient([]string{*etcd_servers}),
kube_client.Client{
client.Client{
Host: "http://" + *master,
})