Compare commits

...

3 Commits

Author SHA1 Message Date
Dr. Strangelove
4c5ceaec45 Merge branch 'main' into fix_dashboard_filter 2025-12-18 13:07:11 -05:00
Dr. Strangelove
65c999a0b7 Merge branch 'main' into fix_dashboard_filter 2025-12-18 12:12:25 -05:00
Dr. Strangelove
91a5682211 Update internal/tools/looker/lookeradddashboardfilter/lookeradddashboardfilter.go
Co-authored-by: Yuan Teoh <45984206+Yuan325@users.noreply.github.com>
2025-12-17 13:33:01 -05:00

View File

@@ -158,7 +158,10 @@ func (t Tool) Invoke(ctx context.Context, resourceMgr tools.SourceProvider, para
dashboard_id := paramsMap["dashboard_id"].(string)
name := paramsMap["name"].(string)
title := paramsMap["title"].(string)
filterType := paramsMap["filter_type"].(string)
filterType, ok := paramsMap["filter_type"].(string)
if !ok {
return nil, fmt.Errorf("unable to cast string: %v", paramsMap["filter_type"])
}
switch filterType {
case "date_filter":
case "number_filter":