mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-31 12:42:25 -05:00 
			
		
		
		
	[chore]: Bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp from 1.17.0 to 1.18.0 (#2207)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
		
					parent
					
						
							
								f302ebb8e5
							
						
					
				
			
			
				commit
				
					
						c6fdcd52fa
					
				
			
		
					 72 changed files with 1040 additions and 864 deletions
				
			
		
							
								
								
									
										10
									
								
								vendor/google.golang.org/grpc/resolver/map.go
									
										
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										10
									
								
								vendor/google.golang.org/grpc/resolver/map.go
									
										
									
										generated
									
									
										vendored
									
									
								
							|  | @ -20,7 +20,7 @@ package resolver | |||
| 
 | ||||
| type addressMapEntry struct { | ||||
| 	addr  Address | ||||
| 	value interface{} | ||||
| 	value any | ||||
| } | ||||
| 
 | ||||
| // AddressMap is a map of addresses to arbitrary values taking into account | ||||
|  | @ -69,7 +69,7 @@ func (l addressMapEntryList) find(addr Address) int { | |||
| } | ||||
| 
 | ||||
| // Get returns the value for the address in the map, if present. | ||||
| func (a *AddressMap) Get(addr Address) (value interface{}, ok bool) { | ||||
| func (a *AddressMap) Get(addr Address) (value any, ok bool) { | ||||
| 	addrKey := toMapKey(&addr) | ||||
| 	entryList := a.m[addrKey] | ||||
| 	if entry := entryList.find(addr); entry != -1 { | ||||
|  | @ -79,7 +79,7 @@ func (a *AddressMap) Get(addr Address) (value interface{}, ok bool) { | |||
| } | ||||
| 
 | ||||
| // Set updates or adds the value to the address in the map. | ||||
| func (a *AddressMap) Set(addr Address, value interface{}) { | ||||
| func (a *AddressMap) Set(addr Address, value any) { | ||||
| 	addrKey := toMapKey(&addr) | ||||
| 	entryList := a.m[addrKey] | ||||
| 	if entry := entryList.find(addr); entry != -1 { | ||||
|  | @ -127,8 +127,8 @@ func (a *AddressMap) Keys() []Address { | |||
| } | ||||
| 
 | ||||
| // Values returns a slice of all current map values. | ||||
| func (a *AddressMap) Values() []interface{} { | ||||
| 	ret := make([]interface{}, 0, a.Len()) | ||||
| func (a *AddressMap) Values() []any { | ||||
| 	ret := make([]any, 0, a.Len()) | ||||
| 	for _, entryList := range a.m { | ||||
| 		for _, entry := range entryList { | ||||
| 			ret = append(ret, entry.value) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue