This commit is contained in:
Marco Munizaga 2022-07-25 12:37:34 -07:00
parent 550663fb73
commit 1ff4e48fd2

View File

@ -96,7 +96,7 @@ func ResourceManager(cfg config.SwarmConfig) interface{} {
Namespace: "rcmgr_trace_metrics",
})
if err != nil {
return nil, opts, fmt.Errorf("creating new prom exporter", err)
return nil, opts, fmt.Errorf("creating new prom exporter: %w", err)
}
if os.Getenv("LIBP2P_DEBUG_RCMGR") != "" {