From 93e5c8309178a1f9f040a023b121fdafb22ff411 Mon Sep 17 00:00:00 2001 From: Shreyas Goenka Date: Thu, 19 Jan 2023 22:01:24 +0100 Subject: [PATCH] fixed bug in when you print debug message --- bundle/schema/tracker.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundle/schema/tracker.go b/bundle/schema/tracker.go index 646f847a4..b084c3222 100644 --- a/bundle/schema/tracker.go +++ b/bundle/schema/tracker.go @@ -39,7 +39,7 @@ func (t *tracker) errWithTrace(prefix string) error { func (t *tracker) hasCycle(golangType reflect.Type) bool { _, ok := t.seenTypes[golangType] - if !ok { + if ok { fmt.Println("[DEBUG] traceSet for cycle: ", t.seenTypes) } return ok