netclient fix func parameters for build

This commit is contained in:
Abhishek Kondur 2022-12-08 19:51:07 +05:30
parent 7a7d5affd0
commit 3bf78fe638

View file

@ -193,7 +193,7 @@ func publishMetrics(nodeCfg *config.ClientConfig) {
return
}
metrics, err := metrics.Collect(nodeCfg.Node.Interface, nodeGET.PeerIDs)
metrics, err := metrics.Collect(nodeCfg.Node.Interface, nodeGET.Node.Network, nodeGET.Node.Proxy, nodeGET.PeerIDs)
if err != nil {
logger.Log(0, "failed metric collection for node", nodeCfg.Node.Name, err.Error())
}