Fix some typo in the files

"Retrived" should be "Retrieved"
The main reason for the change of the variable name ,
is to solve the problem of compile:
line too long (80 > 79 characters)

Change-Id: I041eadd90c77fc4ee9aada656daeac38d13f0c7b
This commit is contained in:
zhangyanxian 2016-08-01 06:37:01 +00:00
parent 24a66692df
commit b31f9eabdb
2 changed files with 6 additions and 6 deletions

View File

@ -86,7 +86,7 @@ class ZoneExportsController(rest.RestController):
zone_export = self.central_api.get_zone_export(context, export_id)
LOG.info(_LI("Retrived %(zone_export)s"), {'zone_export': zone_export})
LOG.info(_LI("Retrieved %(export)s"), {'export': zone_export})
return DesignateAdapter.render(
'API_v2',
@ -110,8 +110,8 @@ class ZoneExportsController(rest.RestController):
zone_exports = self.central_api.find_zone_exports(
context, criterion, marker, limit, sort_key, sort_dir)
LOG.info(_LI("Retrived %(zone_exports)s"),
{'zone_exports': zone_exports})
LOG.info(_LI("Retrieved %(exports)s"),
{'exports': zone_exports})
return DesignateAdapter.render(
'API_v2',

View File

@ -41,7 +41,7 @@ class ZoneImportController(rest.RestController):
zone_import = self.central_api.get_zone_import(
context, import_id)
LOG.info(_LI("Retrived %(zone_import)s"), {'zone_import': zone_import})
LOG.info(_LI("Retrieved %(import)s"), {'import': zone_import})
return DesignateAdapter.render(
'API_v2',
@ -65,8 +65,8 @@ class ZoneImportController(rest.RestController):
zone_imports = self.central_api.find_zone_imports(
context, criterion, marker, limit, sort_key, sort_dir)
LOG.info(_LI("Retrived %(zone_imports)s"),
{'zone_imports': zone_imports})
LOG.info(_LI("Retrieved %(imports)s"),
{'imports': zone_imports})
return DesignateAdapter.render(
'API_v2',