mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-31 04:32:25 -05:00 
			
		
		
		
	[chore]: Bump github.com/prometheus/client_golang from 1.19.1 to 1.20.0 (#3210)
This commit is contained in:
		
					parent
					
						
							
								ae14aa004d
							
						
					
				
			
			
				commit
				
					
						6ff8376d96
					
				
			
		
					 197 changed files with 28294 additions and 563 deletions
				
			
		
							
								
								
									
										4
									
								
								vendor/github.com/prometheus/procfs/cpuinfo.go
									
										
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								vendor/github.com/prometheus/procfs/cpuinfo.go
									
										
									
										generated
									
									
										vendored
									
									
								
							|  | @ -194,7 +194,7 @@ func parseCPUInfoARM(info []byte) ([]CPUInfo, error) { | |||
| 	firstLine := firstNonEmptyLine(scanner) | ||||
| 	match, err := regexp.MatchString("^[Pp]rocessor", firstLine) | ||||
| 	if !match || !strings.Contains(firstLine, ":") { | ||||
| 		return nil, fmt.Errorf("%s: Cannot parse line: %q: %w", ErrFileParse, firstLine, err) | ||||
| 		return nil, fmt.Errorf("%w: Cannot parse line: %q: %w", ErrFileParse, firstLine, err) | ||||
| 
 | ||||
| 	} | ||||
| 	field := strings.SplitN(firstLine, ": ", 2) | ||||
|  | @ -386,7 +386,7 @@ func parseCPUInfoLoong(info []byte) ([]CPUInfo, error) { | |||
| 	// find the first "processor" line | ||||
| 	firstLine := firstNonEmptyLine(scanner) | ||||
| 	if !strings.HasPrefix(firstLine, "system type") || !strings.Contains(firstLine, ":") { | ||||
| 		return nil, errors.New("invalid cpuinfo file: " + firstLine) | ||||
| 		return nil, fmt.Errorf("%w: %q", ErrFileParse, firstLine) | ||||
| 	} | ||||
| 	field := strings.SplitN(firstLine, ": ", 2) | ||||
| 	cpuinfo := []CPUInfo{} | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue