summaryrefslogtreecommitdiff
path: root/internal/deploy
diff options
context:
space:
mode:
Diffstat (limited to 'internal/deploy')
-rw-r--r--internal/deploy/deploy.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/deploy/deploy.go b/internal/deploy/deploy.go
index 8d32613..736b2e1 100644
--- a/internal/deploy/deploy.go
+++ b/internal/deploy/deploy.go
@@ -98,7 +98,7 @@ func Run(ctx context.Context, out io.Writer, cfg layout.Config, app, sha string)
if err != nil {
return fmt.Errorf("read app metadata: %w", err)
}
- if err := nginx.EnsureRoute(ctx, out, cfg, app, meta.IP, meta.Port, meta.ServerName); err != nil {
+ if err := nginx.EnsureRoute(ctx, out, cfg, app, meta); err != nil {
return fmt.Errorf("nginx: %w", err)
}