Fixed bug in template
This commit is contained in:
parent
fd9f6cc178
commit
1698a45416
2
main.go
2
main.go
|
@ -5,6 +5,8 @@ import "log"
|
||||||
func main() {
|
func main() {
|
||||||
cfg := readConfig()
|
cfg := readConfig()
|
||||||
log.Println("Reading config")
|
log.Println("Reading config")
|
||||||
|
log.Printf(" .. host = %v", cfg.HostName)
|
||||||
|
log.Printf(" .. app = %v", cfg.AppName)
|
||||||
|
|
||||||
svc := NewServices(cfg)
|
svc := NewServices(cfg)
|
||||||
|
|
||||||
|
|
|
@ -94,8 +94,8 @@ var (
|
||||||
Host *
|
Host *
|
||||||
StrictHostKeyChecking no
|
StrictHostKeyChecking no
|
||||||
|
|
||||||
Host {{.Cfg.Host}}
|
Host {{.Cfg.HostName}}
|
||||||
HostName {{.Cfg.Host}}
|
HostName {{.Cfg.HostName}}
|
||||||
User dokku
|
User dokku
|
||||||
IdentityFile {{.Home}}/.ssh/id_rsa
|
IdentityFile {{.Home}}/.ssh/id_rsa
|
||||||
`))
|
`))
|
||||||
|
|
Loading…
Reference in a new issue