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 Tomofumi Hayashi
parent 0812a8f7d7
commit e505174d94
2 changed files with 3 additions and 3 deletions

View File

@@ -119,10 +119,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"`