metabase resource fetch erroring out
bsushmith opened this issue · comments
sushmith commented
Description
Resource fetch for metabase groups is crashing with the below error.
panic: interface conversion: interface {} is map[string]interface {}, not string
goroutine 189 [running]:
github.com/goto/guardian/plugins/providers/metabase.(*client).fetchDatabasePermissions(0xc000bd9cc0?, 0x2bee128?, 0xc0003887d0?, {0xfc6f46?, 0xc000462400?})
/home/runner/work/guardian/guardian/plugins/providers/metabase/client.go:298 +0x891
created by github.com/goto/guardian/plugins/providers/metabase.(*client).GetGroups
/home/runner/work/guardian/guardian/plugins/providers/metabase/client.go:243 +0x165
Additional Details:
Metabase version: v0.44.6
Guardian version: 0.7.2
This is happening only for one instance of metabase, but for other instances with same version metabase - there are no issues.