From 5cfdcfd8f6ab642f30695bd000e7c30da90c1944 Mon Sep 17 00:00:00 2001 From: feihujiang Date: Thu, 10 Dec 2015 16:57:27 +0800 Subject: [PATCH] Fix the doc of network plugin version --- pkg/kubelet/network/exec/exec.go | 2 +- pkg/kubelet/network/plugins.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/kubelet/network/exec/exec.go b/pkg/kubelet/network/exec/exec.go index af9ec1be123..a29388d70ed 100644 --- a/pkg/kubelet/network/exec/exec.go +++ b/pkg/kubelet/network/exec/exec.go @@ -33,7 +33,7 @@ limitations under the License. // formatted output indicating the pod's IPAddress(v4/v6). An empty string value or an erroneous output // will mean the container runtime (docker) will be asked for the PodIP // e.g. { -// "apiVersion" : "v1", +// "apiVersion" : "v1beta1", // "kind" : "PodNetworkStatus", // "ip" : "10.20.30.40" // } diff --git a/pkg/kubelet/network/plugins.go b/pkg/kubelet/network/plugins.go index 51a726aea4e..10baef7c1de 100644 --- a/pkg/kubelet/network/plugins.go +++ b/pkg/kubelet/network/plugins.go @@ -56,7 +56,7 @@ type NetworkPlugin interface { } // PodNetworkStatus stores the network status of a pod (currently just the primary IP address) -// This struct represents version "v1" +// This struct represents version "v1beta1" type PodNetworkStatus struct { unversioned.TypeMeta `json:",inline"`