summaryrefslogtreecommitdiff
path: root/heat/scaling
diff options
context:
space:
mode:
authorrabi <ramishra@redhat.com>2017-04-25 13:32:05 +0530
committerrabi <ramishra@redhat.com>2018-01-28 09:41:20 +0530
commit0558b10c48734e94b65b35a4d9ad9356ada9f193 (patch)
tree763e94cd9a0c7cac01e14e6ac6fe0b0ca3040b77 /heat/scaling
parent3a2497a46cc4b7cf72bf7605433c91344da82704 (diff)
downloadheat-0558b10c48734e94b65b35a4d9ad9356ada9f193.tar.gz
Remove use of CooldownMixin with scaling policy
Removes the multiple use of the mixin, so that we don't set metadata for both policy and group. Setting the cooldown metadata only for group would suffice. Change-Id: I241a32b52e0708264c80c3eca313a97534927415 Related-Bug: #1555748
Diffstat (limited to 'heat/scaling')
-rw-r--r--heat/scaling/cooldown.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/heat/scaling/cooldown.py b/heat/scaling/cooldown.py
index 5fbab16b2..452d64ada 100644
--- a/heat/scaling/cooldown.py
+++ b/heat/scaling/cooldown.py
@@ -26,7 +26,6 @@ LOG = logging.getLogger(__name__)
class CooldownMixin(object):
"""Utility class to encapsulate Cooldown related logic.
- This class is shared between AutoScalingGroup and ScalingPolicy.
This logic includes both cooldown timestamp comparing and scaling in
progress checking.
"""