mirror of
https://github.com/livekit/livekit.git
synced 2026-08-29 11:59:28 +00:00
Consolidate operations on LocalNode. (#3140)
This commit is contained in:
+1
-1
@@ -272,7 +272,7 @@ func startServer(c *cli.Context) error {
|
||||
return err
|
||||
}
|
||||
|
||||
if err := prometheus.Init(currentNode.Id, currentNode.Type); err != nil {
|
||||
if err := prometheus.Init(string(currentNode.NodeID()), currentNode.NodeType()); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user