1
0
mirror of https://github.com/smallstep/cli.git synced 2025-08-09 03:22:43 +03:00

Fix bastion hostname

This commit is contained in:
Mariano Cano
2019-11-08 15:15:15 -08:00
committed by max furman
parent 07503c2f61
commit 62ee61a156

View File

@@ -300,7 +300,7 @@ func proxyBastion(r registryResponse) error {
fields := strings.Fields(r.Bastion.Flags)
args = append(args, fields...)
}
args = append(args, r.Hostname)
args = append(args, r.Bastion.Hostname)
if r.Bastion.Command == "" {
args = append(args, r.Bastion.Command)
} else {