Fix that remove 'strategy' attribute does not work.
The 'strategy_id' attribute is the one that not exposes
to API. But the 'PATCH' API always update this attribute.
So this change does not work when choose 'remove' op.
This patch sets value for 'strategy_id' attribute.
Change-Id: I1597fb5d4985bb8271ad3cea7ea5f0adb7de65f4
Closes-Bug: #1662395
(cherry picked from commit e55c73be0ec5ce3d919c60a4edc7cdbb68ac3d56)
Reviewed: https:/ /review. openstack. org/434899 /git.openstack. org/cgit/ openstack/ watcher/ commit/ ?id=8a7e316f731 631fc02f2e9c5f2 7c53f6d3fafee8
Committed: https:/
Submitter: Jenkins
Branch: stable/ocata
commit 8a7e316f731631f c02f2e9c5f27c53 f6d3fafee8 163.com>
Author: ericxiett <eric_xiett@
Date: Wed Feb 8 09:25:58 2017 +0800
Fix that remove 'strategy' attribute does not work.
The 'strategy_id' attribute is the one that not exposes
to API. But the 'PATCH' API always update this attribute.
So this change does not work when choose 'remove' op.
This patch sets value for 'strategy_id' attribute.
Change-Id: I1597fb5d4985bb 8271ad3cea7ea5f 0adb7de65f4 d919c60a4edc7cd bb68ac3d56)
Closes-Bug: #1662395
(cherry picked from commit e55c73be0ec5ce3