commit | cbf480ffa2933daf1ee736229fd0151ec239b92a | [log] [tgz] |
---|---|---|
author | Ghanshyam <gmann@ghanshyammann.com> | Thu Jul 11 11:53:57 2019 +0000 |
committer | Ghanshyam Mann <gmann@ghanshyammann.com> | Thu Jun 18 11:49:45 2020 -0500 |
tree | 3a743842d85762800def809366c3cbec6193f49d | |
parent | 454ddc7d04596d03f40ca0a12a8e15c8ce647941 [diff] |
Fix request body for compute unshelve action API Compute unshelve action API accept request body with action name and null value. For exmaple: {'unshelve': null}. But Tempest pass the empty dict instead of null- {'unshelve': {}}. This works fine till 2.77 microversionbut after that nova started rejecting the empty dict {}. Defaulting the request body to None so that it works for older as well newer microversion. Closes-Bug: #1836187 - https://developer.openstack.org/api-ref/compute/?expanded=unshelve-restore-shelved-server-unshelve-action-detail#unshelve-restore-shelved-server-unshelve-action Change-Id: I5b4be77d5ae88aedf6fd700e34a293064e655ba8