Merge "remove unused local variable"

This commit is contained in:
Zuul 2020-10-12 12:20:36 +00:00 committed by Gerrit Code Review
commit 2356ff6741

View File

@ -952,8 +952,6 @@ class NetworkClientJSON(service_client.RestClient):
return service_client.ResponseBody(resp, body) return service_client.ResponseBody(resp, body)
def list_floatingips(self, **kwargs): def list_floatingips(self, **kwargs):
post_body = {'floatingips': kwargs}
body = jsonutils.dumps(post_body)
uri = '%s/floatingips' % self.uri_prefix uri = '%s/floatingips' % self.uri_prefix
if kwargs: if kwargs:
uri += '?' + urlparse.urlencode(kwargs, doseq=1) uri += '?' + urlparse.urlencode(kwargs, doseq=1)