maper -> mapper

So it's spelled right and matches the other mapper functions

Change-Id: I5570558f9d7ed17e7b19edfafd0d631108178572
This commit is contained in:
Johannes Erdfelt 2012-05-02 20:01:44 +00:00
parent daaa222ab6
commit aeb6791ab3

View File

@ -725,12 +725,12 @@ class APICommon(wsgi.Router):
class APIV01(APICommon):
def __init__(self):
super(APIV01, self).__init__()
self._networks_maper(self.map)
self._networks_mapper(self.map)
self._interface_ip_allocations_mapper(self.map)
self._interface_mapper(self.map)
self._allowed_ips_mapper(self.map)
def _networks_maper(self, mapper):
def _networks_mapper(self, mapper):
resource = NetworksController().create_resource()
path = "/ipam/tenants/{tenant_id}/networks/{network_id}"
mapper.resource("networks", path, controller=resource)