mirror of https://github.com/databricks/cli.git
fixed bug in when you print debug message
This commit is contained in:
parent
cd336bcc99
commit
93e5c83091
|
@ -39,7 +39,7 @@ func (t *tracker) errWithTrace(prefix string) error {
|
||||||
|
|
||||||
func (t *tracker) hasCycle(golangType reflect.Type) bool {
|
func (t *tracker) hasCycle(golangType reflect.Type) bool {
|
||||||
_, ok := t.seenTypes[golangType]
|
_, ok := t.seenTypes[golangType]
|
||||||
if !ok {
|
if ok {
|
||||||
fmt.Println("[DEBUG] traceSet for cycle: ", t.seenTypes)
|
fmt.Println("[DEBUG] traceSet for cycle: ", t.seenTypes)
|
||||||
}
|
}
|
||||||
return ok
|
return ok
|
||||||
|
|
Loading…
Reference in New Issue