Fix comment, remove unneeded logging field

This commit is contained in:
Ingo Oppermann
2025-10-21 16:14:37 +02:00
parent 1eac7d05c5
commit 4adf907e42
2 changed files with 2 additions and 2 deletions

View File

@@ -96,7 +96,7 @@ func New(config Config) *Node {
n.config = coreConfig
n.skills = coreSkills
n.core = NewCore(n.id, n.logger.WithComponent("ClusterCore").WithField("address", address))
n.core = NewCore(n.id, n.logger.WithComponent("ClusterCore"))
n.core.SetEssentials(address, coreConfig)
n.coreLastErr = err

View File

@@ -58,7 +58,7 @@ type RestClient interface {
FilesystemAddFile(storage, path string, data io.Reader) error // PUT /v3/fs/{storage}/{path}
Events(ctx context.Context, filters api.EventFilters) (<-chan api.LogEvent, error) // POST /v3/events
MediaEvents(ctx context.Context, storage, pattern string) (<-chan api.MediaEvent, error) // GET /v3/fs/{storage}, GET /v3/(rtmp|srt)
MediaEvents(ctx context.Context, storage, pattern string) (<-chan api.MediaEvent, error) // GET /v3/events/media/{storage}
ProcessList(opts ProcessListOptions) ([]api.Process, error) // GET /v3/process
ProcessAdd(p *app.Config, metadata map[string]any) error // POST /v3/process