mirror of
https://github.com/restic/restic.git
synced 2025-10-29 12:30:03 +00:00
Update vendored library cloud.google.com/go
This commit is contained in:
3
vendor/cloud.google.com/go/pubsub/topic_test.go
generated
vendored
3
vendor/cloud.google.com/go/pubsub/topic_test.go
generated
vendored
@@ -21,6 +21,7 @@ import (
|
||||
"time"
|
||||
|
||||
"cloud.google.com/go/internal/testutil"
|
||||
"google.golang.org/grpc/status"
|
||||
|
||||
"golang.org/x/net/context"
|
||||
"google.golang.org/api/iterator"
|
||||
@@ -135,7 +136,7 @@ type alwaysFailPublish struct {
|
||||
}
|
||||
|
||||
func (s *alwaysFailPublish) Publish(ctx context.Context, req *pubsubpb.PublishRequest) (*pubsubpb.PublishResponse, error) {
|
||||
return nil, grpc.Errorf(codes.Unavailable, "try again")
|
||||
return nil, status.Errorf(codes.Unavailable, "try again")
|
||||
}
|
||||
|
||||
func mustCreateTopic(t *testing.T, c *Client, id string) *Topic {
|
||||
|
||||
Reference in New Issue
Block a user