mirror of
				https://github.com/TeaOSLab/EdgeAPI.git
				synced 2025-11-04 07:50:25 +08:00 
			
		
		
		
	通过SSH远程安装/升级节点时连接错误也单独标识出来
This commit is contained in:
		@@ -186,6 +186,7 @@ func (this *Queue) InstallNode(nodeId int64, installStatus *models.NodeInstallSt
 | 
			
		||||
		PrivateKey: grant.PrivateKey,
 | 
			
		||||
	})
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		installStatus.ErrorCode = "SSH_LOGIN_FAILED"
 | 
			
		||||
		return err
 | 
			
		||||
	}
 | 
			
		||||
	defer func() {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user