This commit is contained in:
parent
3ae383d1cd
commit
45996c4d1b
@ -293,7 +293,7 @@ func (c *Container) GetHostKey() (string, error) {
|
||||
|
||||
if hostKeyRaw != nil {
|
||||
hostKeyRawString := strings.TrimSpace(string(*hostKeyRaw))
|
||||
parts := strings.SplitN(hostKeyRawString, " ", 1)
|
||||
parts := strings.SplitN(hostKeyRawString, " ", 2)
|
||||
if len(parts) > 1 {
|
||||
return parts[1], nil
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user