Skip to content

Commit 9c492b7

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "Add plugin interface version"
2 parents ead9a40 + 15fe0fa commit 9c492b7

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎openstackclient/common/clientmanager.py‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ def __get__(self, instance, owner):
4949

5050
class ClientManager(object):
5151
"""Manages access to API clients, including authentication."""
52+
53+
# A simple incrementing version for the plugin to know what is available
54+
PLUGIN_INTERFACE_VERSION = "2"
55+
5256
identity = ClientCache(identity_client.make_client)
5357

5458
def __getattr__(self, name):

0 commit comments

Comments
 (0)