Add comments re RPC versions being in sync
place it to remind to keep it in sync there too. Change-Id: I745b4b14d6217030a463a9a343eee139d8e155b3 Related-Bug: #1526283
This commit is contained in:
parent
1fcb6c52a2
commit
d8438df350
|
@ -87,6 +87,8 @@ class ConductorManager(base_manager.BaseConductorManager):
|
|||
"""Ironic Conductor manager main class."""
|
||||
|
||||
# NOTE(rloo): This must be in sync with rpcapi.ConductorAPI's.
|
||||
# NOTE(pas-ha): This also must be in sync with
|
||||
# ironic.common.release_mappings.RELEASE_MAPPING['master']
|
||||
RPC_API_VERSION = '1.40'
|
||||
|
||||
target = messaging.Target(version=RPC_API_VERSION)
|
||||
|
|
|
@ -93,6 +93,8 @@ class ConductorAPI(object):
|
|||
"""
|
||||
|
||||
# NOTE(rloo): This must be in sync with manager.ConductorManager's.
|
||||
# NOTE(pas-ha): This also must be in sync with
|
||||
# ironic.common.release_mappings.RELEASE_MAPPING['master']
|
||||
RPC_API_VERSION = '1.40'
|
||||
|
||||
def __init__(self, topic=None):
|
||||
|
|
Loading…
Reference in New Issue