summaryrefslogtreecommitdiff
path: root/ironic/db/api.py
diff options
context:
space:
mode:
authorJulia Kreger <juliaashleykreger@gmail.com>2016-11-28 15:26:58 +0000
committerJulia Kreger <juliaashleykreger@gmail.com>2016-11-28 18:06:08 +0000
commit6d63e33547cfed61d3386d598fb2f29bb3eec744 (patch)
tree57a21a7d0ecf163fa0afdddab30ca01e2870692a /ironic/db/api.py
parent24bc4cbd7a4a6de46be56e07fa1aafabc5abf911 (diff)
downloadironic-6d63e33547cfed61d3386d598fb2f29bb3eec744.tar.gz
Follow-up for volume connector db_id
This revision follows up on the feedback on change I8237ab671a04ac9b01c8bdb2936cf0a661b9b1de which was to rename one of the parameters use of "id" which is confusing due to the "connector_id" field in the data model for a volume connector, when id purely refers to the "id" column in the database. Additionally follows-up to the following object revision I06aa1a94401e7c7faeb019926272a072d1ed1c51 and updates the variable name and some of the doc strings in that method. Change-Id: I6a34b195e6dd6f7898348f68646018dfa8bf77de
Diffstat (limited to 'ironic/db/api.py')
-rw-r--r--ironic/db/api.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ironic/db/api.py b/ironic/db/api.py
index 95ced0fef..345ace6ae 100644
--- a/ironic/db/api.py
+++ b/ironic/db/api.py
@@ -631,10 +631,10 @@ class Connection(object):
"""
@abc.abstractmethod
- def get_volume_connector_by_id(self, id):
+ def get_volume_connector_by_id(self, db_id):
"""Return a volume connector representation.
- :param id: The ID of a volume connector.
+ :param db_id: The integer database ID of a volume connector.
:returns: A volume connector with the specified ID.
:raises: VolumeConnectorNotFound If a volume connector
with the specified ID is not found.