style: 补充代码注释
This commit is contained in:
@@ -174,7 +174,7 @@ func (r *NeLicenseImpl) UploadLicense(neLicense model.NeLicense) error {
|
||||
|
||||
// 上传授权文件去覆盖
|
||||
if err := sftpClient.CopyFileLocalToRemote(omcLicensePath, neLicensePath); err != nil {
|
||||
return err
|
||||
return fmt.Errorf("please check if scp remote copy is allowed")
|
||||
}
|
||||
|
||||
// 重启服务
|
||||
|
||||
Reference in New Issue
Block a user