diff --git a/containers/types.go b/containers/types.go index c7c5031..80c45a6 100644 --- a/containers/types.go +++ b/containers/types.go @@ -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 }