Change json field name to align with NPWG spec v1.

This commit is contained in:
Tomofumi Hayashi
2018-09-05 17:31:09 +09:00
committed by dougbtv
parent ac3731380c
commit 91a0e74a0d
2 changed files with 3 additions and 3 deletions

View File

@@ -108,10 +108,10 @@ type NetworkSelectionElement struct {
Namespace string `json:"namespace,omitempty"`
// IPRequest contains an optional requested IP address for this network
// attachment
IPRequest string `json:"ipRequest,omitempty"`
IPRequest string `json:"ips,omitempty"`
// MacRequest contains an optional requested MAC address for this
// network attachment
MacRequest string `json:"macRequest,omitempty"`
MacRequest string `json:"mac,omitempty"`
// InterfaceRequest contains an optional requested name for the
// network interface this attachment will create in the container
InterfaceRequest string `json:"interfaceRequest,omitempty"`