Merge "Remove get_server_group()"

This commit is contained in:
Jenkins
2015-12-03 15:13:35 +00:00
committed by Gerrit Code Review

View File

@@ -14,7 +14,6 @@
# License for the specific language governing permissions and limitations
# under the License.
from oslo_log import log as logging
from oslo_serialization import jsonutils as json
from tempest_lib.api_schema.response.compute.v2_1 import servers as schema
@@ -22,7 +21,6 @@ from tempest_lib.common import rest_client
class ServerGroupsClient(rest_client.RestClient):
LOG = logging.getLogger(__name__)
def create_server_group(self, **kwargs):
"""Create the server group.
@@ -56,8 +54,3 @@ class ServerGroupsClient(rest_client.RestClient):
body = json.loads(body)
self.validate_response(schema.create_show_server_group, resp, body)
return rest_client.ResponseBody(resp, body)
def get_server_group(self, server_group_id):
self.LOG.warning("%s method was deprecated and renamed to %s" %
("get_server_group", "show_server_group"))
return self.show_server_group(server_group_id)