mirror of https://github.com/k3s-io/k3s
Merge pull request #3273 from smarterclayton/fix_master_conflict
Fix inflight merge conflict by adapting rollingupdate to #2861pull/6/head
commit
41e7b2515b
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue