mirror of
https://github.com/ipfs/kubo.git
synced 2026-03-01 06:17:56 +08:00
Fix err
This commit is contained in:
parent
550663fb73
commit
1ff4e48fd2
@ -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") != "" {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user