From: Jas Date: Tue, 24 Nov 2015 06:01:21 +0000 (-0600) Subject: Some minor misspellings in comment block. X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=8de861af6227db4afa0fcdda21f19556aab4089d;p=openstack-build%2Fneutron-build.git Some minor misspellings in comment block. Change-Id: I4d7b71bc05b237e986e95ea7b8dc55ca4f307aeb --- diff --git a/neutron/worker.py b/neutron/worker.py index c49d742f6..80a16533e 100644 --- a/neutron/worker.py +++ b/neutron/worker.py @@ -20,13 +20,13 @@ from neutron.callbacks import resources class NeutronWorker(service.ServiceBase): """Partial implementation of the ServiceBase ABC - Subclasses will still need to add the other abstractmethods defined in + Subclasses will still need to add the other abstract methods defined in service.ServiceBase. See oslo_service for more details. - If a plugin needs to handle synchornization with the Neutron database and + If a plugin needs to handle synchronization with the Neutron database and do this only once instead of in every API worker, for instance, it would define a NeutronWorker class and the plugin would have get_workers return - an array of NeutronWorker instnaces. For example: + an array of NeutronWorker instances. For example: class MyPlugin(...): def get_workers(self): return [MyPluginWorker()]