mirror of
				https://github.com/1Panel-dev/1Panel.git
				synced 2025-10-31 19:26:02 +08:00 
			
		
		
		
	pref: 完善告警通知任务 (#6263)
This commit is contained in:
		
							parent
							
								
									a1d394fbc2
								
							
						
					
					
						commit
						a5e7f78a1f
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		|  | @ -338,3 +338,7 @@ func FormatBytes(bytes uint64) string { | |||
| 		return fmt.Sprintf("%.2fGB", float64(bytes)/float64(gb)) | ||||
| 	} | ||||
| } | ||||
| 
 | ||||
| func FormatPercent(percent float64) string { | ||||
| 	return fmt.Sprintf("%.2f%%", percent) | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue