mirror of
				https://github.com/kubenetworks/kubevpn.git
				synced 2025-11-01 03:04:02 +08:00 
			
		
		
		
	feat: optimize code
This commit is contained in:
		| @@ -31,7 +31,7 @@ func attachContainer(ctx context.Context, dockerCli command.Cli, errCh *chan err | ||||
|  | ||||
| 	resp, errAttach := dockerCli.Client().ContainerAttach(ctx, containerID, options) | ||||
| 	if errAttach != nil { | ||||
| 		return nil, errAttach | ||||
| 		return nil, fmt.Errorf("failed to attach to container: %s, err: %v", containerID, errAttach) | ||||
| 	} | ||||
|  | ||||
| 	var ( | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 fengcaiwen
					fengcaiwen