mirror of
				https://github.com/1Panel-dev/1Panel.git
				synced 2025-10-31 11:15:58 +08:00 
			
		
		
		
	fix: 应用恢复去掉版本限制 (#1365)
This commit is contained in:
		
							parent
							
								
									bc8d4cbb0f
								
							
						
					
					
						commit
						5222caecf9
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -148,7 +148,7 @@ func handleAppRecover(install *model.AppInstall, recoverFile string, isRollback | |||
| 	if err := json.Unmarshal(appjson, &oldInstall); err != nil { | ||||
| 		return fmt.Errorf("unmarshal app.json failed, err: %v", err) | ||||
| 	} | ||||
| 	if oldInstall.App.Key != install.App.Key || oldInstall.Name != install.Name || oldInstall.Version != install.Version { | ||||
| 	if oldInstall.App.Key != install.App.Key || oldInstall.Name != install.Name { | ||||
| 		return errors.New("the current backup file does not match the application") | ||||
| 	} | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue