forked from github/multus-cni
Add Kubernetes event log when the pod is launched
This commit is contained in:
committed by
Tomofumi Hayashi
parent
bfaf22964b
commit
079c853eba
@@ -96,6 +96,9 @@ func LoadDelegateNetConf(bytes []byte, net *NetworkSelectionElement, deviceID st
|
||||
}
|
||||
|
||||
if net != nil {
|
||||
if net.Name != "" {
|
||||
delegateConf.Name = net.Name
|
||||
}
|
||||
if net.InterfaceRequest != "" {
|
||||
delegateConf.IfnameRequest = net.InterfaceRequest
|
||||
}
|
||||
|
Reference in New Issue
Block a user