looker-open-source/gzr

Error on `dashboard cat` with `--plans` option

Closed this issue · 1 comments

Getting errors on dashboard cat command with --plans option and I think this is because query_scheduled_plans_for_dashboard returns Array but dashboard cat expects a hash. Could you take a look?

data[:scheduled_plans] = query_scheduled_plans_for_dashboard(@dashboard_id,"all")&.to_attrs if @options[:plans]

Screen Shot 2022-04-25 at 3 32 36 PM

Screen Shot 2022-04-25 at 3 31 19 PM

Hello @jiepiao,

We are aware of the issue and will be proposing a fix.

Thanks.
Daniel