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