From c8f92734946592ff3dd1da9deea61b9344b355a0 Mon Sep 17 00:00:00 2001 From: Caner Derici Date: Thu, 5 Oct 2023 14:21:36 -0600 Subject: [PATCH] Improve deploy with revision example without the --revision parameter this will deploy rev 21, but with the parameter it will deploy 19. --- examples/deploywithrevision.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/examples/deploywithrevision.py b/examples/deploywithrevision.py index a1f96fbc..3387ee7f 100644 --- a/examples/deploywithrevision.py +++ b/examples/deploywithrevision.py @@ -11,12 +11,13 @@ async def main(): await model.connect() try: - print(f'Deploying {charm} --channel 2.0/stable --revision 22') + print(f'Deploying {charm} --channel latest/edge --revision 19') application = await model.deploy( 'juju-qa-test', application_name='test', - channel='2.0/stable', - revision=22, + channel='latest/edge', + series='xenial', + revision=19, ) print('Waiting for active')