Skip to content

Commit

Permalink
bugfix - Cluster -> DruidCluster
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Feb 12, 2016
1 parent 5686dc0 commit d970e89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion panoramix/models.py
Expand Up @@ -1166,7 +1166,7 @@ def generate_metrics(self):
session.query(M)
.filter(M.metric_name == metric.metric_name)
.filter(M.datasource_name == self.datasource_name)
.filter(Cluster.cluster_name == self.datasource.cluster_name)
.filter(DruidCluster.cluster_name == self.datasource.cluster_name)
.first()
)
metric.datasource_name = self.datasource_name
Expand Down

0 comments on commit d970e89

Please sign in to comment.