Upgrade google.golang.org/grpc and google.golang.org/protobuf
Signed-off-by: Kazuyoshi Kato <katokazu@amazon.com>
This commit is contained in:
		
							
								
								
									
										8
									
								
								vendor/google.golang.org/grpc/resolver/resolver.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								vendor/google.golang.org/grpc/resolver/resolver.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -27,6 +27,7 @@ import ( | ||||
|  | ||||
| 	"google.golang.org/grpc/attributes" | ||||
| 	"google.golang.org/grpc/credentials" | ||||
| 	"google.golang.org/grpc/internal/pretty" | ||||
| 	"google.golang.org/grpc/serviceconfig" | ||||
| ) | ||||
|  | ||||
| @@ -139,13 +140,18 @@ type Address struct { | ||||
|  | ||||
| // Equal returns whether a and o are identical.  Metadata is compared directly, | ||||
| // not with any recursive introspection. | ||||
| func (a *Address) Equal(o Address) bool { | ||||
| func (a Address) Equal(o Address) bool { | ||||
| 	return a.Addr == o.Addr && a.ServerName == o.ServerName && | ||||
| 		a.Attributes.Equal(o.Attributes) && | ||||
| 		a.BalancerAttributes.Equal(o.BalancerAttributes) && | ||||
| 		a.Type == o.Type && a.Metadata == o.Metadata | ||||
| } | ||||
|  | ||||
| // String returns JSON formatted string representation of the address. | ||||
| func (a Address) String() string { | ||||
| 	return pretty.ToJSON(a) | ||||
| } | ||||
|  | ||||
| // BuildOptions includes additional information for the builder to create | ||||
| // the resolver. | ||||
| type BuildOptions struct { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Kazuyoshi Kato
					Kazuyoshi Kato