Skip to content

Commit

Permalink
Merge pull request allegro#2327 from ar4s/ng-dashboard-series-as-int
Browse files Browse the repository at this point in the history
Changed type of items in series to int.
  • Loading branch information
ar4s committed Mar 25, 2016
2 parents 57001fa + 5603924 commit 9f65ddc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ralph/dashboards/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def get_data(self):
queryset = queryset.filter(**annotate_filters)
return {
'labels': [q[self.params['labels']] for q in queryset],
'series': [q['series'] for q in queryset],
'series': [int(q['series']) for q in queryset],
}

def render(self, **context):
Expand Down

0 comments on commit 9f65ddc

Please sign in to comment.