From 1698a45416b8eda96df50fdbc7086277ab22d96e Mon Sep 17 00:00:00 2001 From: Leon Mika Date: Sat, 13 Jul 2024 11:31:33 +1000 Subject: [PATCH] Fixed bug in template --- main.go | 2 ++ services.go | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 7190c14..20c59ee 100644 --- a/main.go +++ b/main.go @@ -5,6 +5,8 @@ import "log" func main() { cfg := readConfig() log.Println("Reading config") + log.Printf(" .. host = %v", cfg.HostName) + log.Printf(" .. app = %v", cfg.AppName) svc := NewServices(cfg) diff --git a/services.go b/services.go index 8f0c89c..67aba79 100644 --- a/services.go +++ b/services.go @@ -94,8 +94,8 @@ var ( Host * StrictHostKeyChecking no -Host {{.Cfg.Host}} - HostName {{.Cfg.Host}} +Host {{.Cfg.HostName}} + HostName {{.Cfg.HostName}} User dokku IdentityFile {{.Home}}/.ssh/id_rsa `))