mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-07 04:19:58 +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 {
|
||||
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()
|
||||
netPair := e.NetworkPair()
|
||||
|
Loading…
Reference in New Issue
Block a user