Skip to content

Commit 5e66f6c

Browse files
committed
hotfix: replace vars for execution in extension proxy type
1 parent 02cc598 commit 5e66f6c

File tree

1 file changed

+7
-0
lines changed
  • api/internal/features/extension/engine

1 file changed

+7
-0
lines changed

api/internal/features/extension/engine/proxy.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,13 @@ func (proxyModule) Execute(sshClient *ssh.SSH, step types.SpecStep, vars map[str
4747
domain, _ := step.Properties["domain"].(string)
4848
port, _ := step.Properties["port"].(string)
4949

50+
if domain != "" {
51+
domain = replaceVars(domain, vars)
52+
}
53+
if port != "" {
54+
port = replaceVars(port, vars)
55+
}
56+
5057
switch action {
5158
case "add":
5259
if domain == "" || port == "" {

0 commit comments

Comments
 (0)