mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-08 12:54:05 +00:00
runtime: clh: addNet() logging clean-up
Avoid logging the same endpoint fields twice from addNet(). Signed-off-by: Dan Mihai <dmihai@microsoft.com>
This commit is contained in:
parent
322073bea1
commit
78cbf33f1d
@ -1627,7 +1627,7 @@ func (clh *cloudHypervisor) getDiskRateLimiterConfig() *chclient.RateLimiterConf
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (clh *cloudHypervisor) addNet(e Endpoint) error {
|
func (clh *cloudHypervisor) addNet(e Endpoint) error {
|
||||||
clh.Logger().WithField("endpoint-type", e).Debugf("Adding Endpoint of type %v", e)
|
clh.Logger().WithField("endpoint", e).Debugf("Adding Endpoint of type %v", e.Type())
|
||||||
|
|
||||||
mac := e.HardwareAddr()
|
mac := e.HardwareAddr()
|
||||||
netPair := e.NetworkPair()
|
netPair := e.NetworkPair()
|
||||||
|
Loading…
Reference in New Issue
Block a user