Revert "🐛 修复启动时间错误"
This reverts commit 513dc04c5d55032d806247fa1bb037c7f055350e.
This commit is contained in:
		
							parent
							
								
									513dc04c5d
								
							
						
					
					
						commit
						5a05fce7ed
					
				@ -64,7 +64,7 @@ func GetHost() *model.Host {
 | 
				
			|||||||
		swapMemTotal = mv.SwapTotal
 | 
							swapMemTotal = mv.SwapTotal
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	cachedBootTime = time.Unix(1632708033, 0)
 | 
						cachedBootTime = time.Now().Add(time.Duration(-1 * int64(hi.BootTime*1000)))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	return &model.Host{
 | 
						return &model.Host{
 | 
				
			||||||
		Platform:        hi.OS,
 | 
							Platform:        hi.OS,
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user