Commit 67f379e5 authored by redhatlinux10's avatar redhatlinux10

fix inconsistent util package import

Signed-off-by: 's avatarredhatlinux10 <ouyang.qinhua@zte.com.cn> fix inconsistent util package import Signed-off-by: 's avatarredhatlinux10 <ouyang.qinhua@zte.com.cn>
parent 5ded63a6
...@@ -22,7 +22,7 @@ import ( ...@@ -22,7 +22,7 @@ import (
"github.com/spf13/cobra" "github.com/spf13/cobra"
cmdutil "k8s.io/kubernetes/pkg/kubectl/cmd/util" kubeadmutil "k8s.io/kubernetes/cmd/kubeadm/app/util"
"k8s.io/kubernetes/pkg/version" "k8s.io/kubernetes/pkg/version"
) )
...@@ -32,7 +32,7 @@ func NewCmdVersion(out io.Writer) *cobra.Command { ...@@ -32,7 +32,7 @@ func NewCmdVersion(out io.Writer) *cobra.Command {
Short: "Print the version of kubeadm", Short: "Print the version of kubeadm",
Run: func(cmd *cobra.Command, args []string) { Run: func(cmd *cobra.Command, args []string) {
err := RunVersion(out, cmd) err := RunVersion(out, cmd)
cmdutil.CheckErr(err) kubeadmutil.CheckErr(err)
}, },
} }
return cmd return cmd
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment