Commit 5cfdcfd8 authored by feihujiang's avatar feihujiang

Fix the doc of network plugin version

parent 229f40e6
...@@ -33,7 +33,7 @@ limitations under the License. ...@@ -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 // 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 // will mean the container runtime (docker) will be asked for the PodIP
// e.g. { // e.g. {
// "apiVersion" : "v1", // "apiVersion" : "v1beta1",
// "kind" : "PodNetworkStatus", // "kind" : "PodNetworkStatus",
// "ip" : "10.20.30.40" // "ip" : "10.20.30.40"
// } // }
......
...@@ -56,7 +56,7 @@ type NetworkPlugin interface { ...@@ -56,7 +56,7 @@ type NetworkPlugin interface {
} }
// PodNetworkStatus stores the network status of a pod (currently just the primary IP address) // 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 { type PodNetworkStatus struct {
unversioned.TypeMeta `json:",inline"` unversioned.TypeMeta `json:",inline"`
......
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