From c2a1be6e6f9f1f871c3f708973bdd83a3d357dfd Mon Sep 17 00:00:00 2001 From: Jono Wenger <jono@elixxir.io> Date: Mon, 9 Jan 2023 13:54:36 -0800 Subject: [PATCH] Fix log print --- worker/manager.go | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/worker/manager.go b/worker/manager.go index 53229c59..d6cceaf1 100644 --- a/worker/manager.go +++ b/worker/manager.go @@ -20,9 +20,8 @@ import ( ) // TODO: -// 1. restructure packages -// 2. Get path to JS file from bindings -// 3. Add tests for manager.go and thread.go +// 1. Get path to JS file from bindings +// 2. Add tests for manager.go and thread.go // initID is the ID for the first item in the callback list. If the list only // contains one callback, then this is the ID of that callback. If the list has @@ -185,8 +184,8 @@ func (m *Manager) RegisterCallback(tag Tag, receptionCB ReceptionCallback) { id := initID - jww.DEBUG.Printf("[WW] [%s] Main registering callback for tag %q and ID "+ - "%d (autoID: %t)", m.name, tag, id) + jww.DEBUG.Printf("[WW] [%s] Main registering callback for tag %q and ID %d", + m.name, tag, id) m.callbacks[tag] = map[uint64]ReceptionCallback{id: receptionCB} } -- GitLab