| commit | 9b3d774430b085af2b134e3c5dadd515335b03cc | [log] [tgz] |
|---|---|---|
| author | Bartosz Kupidura <bkupidura@mirantis.com> | Thu Jun 22 14:58:19 2017 +0200 |
| committer | Bartosz Kupidura <bkupidura@mirantis.com> | Thu Jun 22 15:27:49 2017 +0200 |
| tree | 83821b7b9fc8a0d5fe41b507ecdd6b973100f7be | |
| parent | 45d0bb8fe7ec2f742c94734f3c3df722b6141eea [diff] |
We need empty {} to evaluate alerts
For some alerts we use reclass to get variables
(ex. threshold). To get those reclass variables
we use `prometheus_server` dict, which on nodes
without prometheus class is None.
We need to provide at least empty dict in that
case.
Change-Id: Ic1f2c1776c4852701dcf9f8a76f933926b2d9aec