From 5aaefbe2b16bbde254875ab84db3878b9c9f6611 Mon Sep 17 00:00:00 2001 From: Roy Crihfield Date: Mon, 24 Jun 2024 22:08:40 +0800 Subject: [PATCH] fix `deployment ports` command --- stack_orchestrator/deploy/deployment.py | 1 + 1 file changed, 1 insertion(+) diff --git a/stack_orchestrator/deploy/deployment.py b/stack_orchestrator/deploy/deployment.py index f364121f..db6ad6cc 100644 --- a/stack_orchestrator/deploy/deployment.py +++ b/stack_orchestrator/deploy/deployment.py @@ -123,6 +123,7 @@ def push_images(ctx): @click.argument('extra_args', nargs=-1) # help: command: port @click.pass_context def port(ctx, extra_args): + ctx.obj = make_deploy_context(ctx) port_operation(ctx, extra_args)