Skip to content

Commit

Permalink
undo fmt changes
Browse files Browse the repository at this point in the history
  • Loading branch information
tritone committed Dec 27, 2022
1 parent 7b848ac commit ef087c6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions storage/integration_test.go
Expand Up @@ -265,8 +265,8 @@ func initTransportClients(ctx context.Context, t *testing.T, opts ...option.Clie
// of an existing bucket to use, a bucket name to use for bucket creation, and
// the client to use.
func multiTransportTest(ctx context.Context, t *testing.T,
test func(*testing.T, context.Context, string, string, *Client),
opts ...option.ClientOption) {
test func(*testing.T, context.Context, string, string, *Client),
opts ...option.ClientOption) {
for transport, client := range initTransportClients(ctx, t, opts...) {
t.Run(transport, func(t *testing.T) {
defer client.Close()
Expand Down Expand Up @@ -5147,8 +5147,8 @@ func retryOnTransient400and403(err error) bool {
var e *googleapi.Error
var ae *apierror.APIError
return ShouldRetry(err) ||
/* http */ errors.As(err, &e) && (e.Code == 400 || e.Code == 403) ||
/* grpc */ errors.As(err, &ae) && (ae.GRPCStatus().Code() == codes.InvalidArgument || ae.GRPCStatus().Code() == codes.PermissionDenied)
/* http */ errors.As(err, &e) && (e.Code == 400 || e.Code == 403) ||
/* grpc */ errors.As(err, &ae) && (ae.GRPCStatus().Code() == codes.InvalidArgument || ae.GRPCStatus().Code() == codes.PermissionDenied)
}

func skipGRPC(reason string) context.Context {
Expand Down

0 comments on commit ef087c6

Please sign in to comment.