Merge pull request #3273 from smarterclayton/fix_master_conflict

Fix inflight merge conflict by adapting rollingupdate to #2861
pull/6/head
Clayton Coleman 2015-01-07 14:05:47 -05:00
commit 41e7b2515b
1 changed files with 4 additions and 1 deletions

View File

@ -21,6 +21,7 @@ import (
"io"
"github.com/GoogleCloudPlatform/kubernetes/pkg/api"
"github.com/GoogleCloudPlatform/kubernetes/pkg/client"
"github.com/GoogleCloudPlatform/kubernetes/pkg/kubectl"
"github.com/spf13/cobra"
)
@ -68,7 +69,9 @@ $ cat frontend-v2.json | kubectl rollingupdate frontend-v1 -f -
err = CompareNamespaceFromFile(cmd, namespace)
checkErr(err)
client, err := f.ClientBuilder.Client()
config, err := f.ClientConfig.ClientConfig()
checkErr(err)
client, err := client.New(config)
checkErr(err)
obj, err := mapping.Codec.Decode(data)
checkErr(err)