Skip to content

Commit 8501b23

Browse files
committed
Use the client version in the connection
rather then setting it to the TARGET_JUJU_VERSION
1 parent ba33f2a commit 8501b23

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

juju/client/connection.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
from juju import errors, tag, utils, jasyncio
1818
from juju.client import client
1919
from juju.utils import IdQueue
20-
from juju.version import TARGET_JUJU_VERSION
20+
from juju.version import CLIENT_VERSION
2121

2222
log = logging.getLogger('juju.client.connection')
2323

@@ -963,7 +963,7 @@ def _build_facades(self, facades_from_connection):
963963
async def login(self):
964964
params = {}
965965
# Set the client version
966-
params['client-version'] = TARGET_JUJU_VERSION
966+
params['client-version'] = CLIENT_VERSION
967967
params['auth-tag'] = self.usertag
968968
if self.password:
969969
params['credentials'] = self.password

0 commit comments

Comments
 (0)