mirror of https://github.com/buster-so/buster.git
dashboards available
This commit is contained in:
parent
c351866c9f
commit
4b87ad8224
|
@ -131,7 +131,7 @@ impl ToolExecutor for CreateDashboardFilesTool {
|
|||
|
||||
async fn is_enabled(&self) -> bool {
|
||||
matches!((
|
||||
self.agent.get_state_value("metrics_available").await,
|
||||
self.agent.get_state_value("dashboards_available").await,
|
||||
self.agent.get_state_value("plan_available").await,
|
||||
), (Some(_), Some(_)))
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue