mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-05 19:47:53 +00:00
network: Marshal BridgedMacvlanEndpoint and MacvtapEndpoint
These were skipped. Fixes #842 Signed-off-by: Archana Shinde <archana.m.shinde@intel.com>
This commit is contained in:
parent
4c82d526ee
commit
21d38e9948
@ -265,6 +265,7 @@ func (n *NetworkNamespace) UnmarshalJSON(b []byte) error {
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
endpoints = append(endpoints, &endpoint)
|
||||||
networkLogger().WithFields(logrus.Fields{
|
networkLogger().WithFields(logrus.Fields{
|
||||||
"endpoint": endpoint,
|
"endpoint": endpoint,
|
||||||
"endpoint-type": "macvlan",
|
"endpoint-type": "macvlan",
|
||||||
@ -277,6 +278,7 @@ func (n *NetworkNamespace) UnmarshalJSON(b []byte) error {
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
endpoints = append(endpoints, &endpoint)
|
||||||
networkLogger().WithFields(logrus.Fields{
|
networkLogger().WithFields(logrus.Fields{
|
||||||
"endpoint": endpoint,
|
"endpoint": endpoint,
|
||||||
"endpoint-type": "macvtap",
|
"endpoint-type": "macvtap",
|
||||||
|
Loading…
Reference in New Issue
Block a user