]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
heat engine : make WatchRule initial state NODATA
authorSteven Hardy <shardy@redhat.com>
Tue, 22 Jan 2013 13:45:11 +0000 (13:45 +0000)
committerSteven Hardy <shardy@redhat.com>
Tue, 22 Jan 2013 13:50:08 +0000 (13:50 +0000)
commit039c66b11ad817cf70233866de91b42208261bda
tree97f432315ca7ab91a25f99234f9154d3209384cb
parent7e1548516762cf599bf2c720c7d3a46113e3c8b9
heat engine : make WatchRule initial state NODATA

Initial state should be NODATA not NORMAL, as we've not
done any metric evaluation until the first evaluation
period has elapsed

fixes bug 1102446

Change-Id: Ic41df29c00a5df2f3d161bc1b1d054d816c5afa5
Signed-off-by: Steven Hardy <shardy@redhat.com>
heat/engine/watchrule.py
heat/tests/test_watch.py