SSH host keyscan typo fix
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Adam Štrauch 2023-04-13 20:17:29 +02:00
parent 9a37518431
commit d7b878bbbc
Signed by: cx
GPG Key ID: 018304FFA8988F8D

View File

@ -284,7 +284,7 @@ func (c *Container) GetDeploySSHKeys() (string, string, error) {
func (c *Container) GetHostKey() (string, error) { func (c *Container) GetHostKey() (string, error) {
driver := c.getDriver() driver := c.getDriver()
hostKeyRaw, err := driver.Exec(c.App.Name, []string{"ssh-keyscan ", "localhost"}, "", []string{}, true) hostKeyRaw, err := driver.Exec(c.App.Name, []string{"ssh-keyscan", "localhost"}, "", []string{}, true)
if err != nil { if err != nil {
return "", err return "", err
} }