firebase-admin-go icon indicating copy to clipboard operation
firebase-admin-go copied to clipboard

chore: update cloud.google.com/go/storage v1.22.1

Open shogo82148 opened this issue 3 years ago • 0 comments
trafficstars

I found that the SDK doesn't work with the latest version of google.golang.org/api (v0.81.0). https://github.com/googleapis/google-cloud-go/pull/6061 fixed this problem, and it is released as cloud.google.com/go/storage v1.22.1.

% go test ./...
# cloud.google.com/go/storage
../../../../pkg/mod/cloud.google.com/go/[email protected]/writer.go:451:24: undefined: storage.CommonRequestParams
../../../../pkg/mod/cloud.google.com/go/[email protected]/writer.go:453:23: undefined: storage.CommonRequestParams
../../../../pkg/mod/cloud.google.com/go/[email protected]/writer.go:461:3: unknown field 'CommonRequestParams' in struct literal of type "google.golang.org/genproto/googleapis/storage/v2".StartResumableWriteRequest
FAIL	firebase.google.com/go/v4 [build failed]
ok  	firebase.google.com/go/v4/auth	4.368s
ok  	firebase.google.com/go/v4/auth/hash	3.276s
ok  	firebase.google.com/go/v4/db	2.608s
?   	firebase.google.com/go/v4/errorutils	[no test files]
ok  	firebase.google.com/go/v4/iid	1.196s
FAIL	firebase.google.com/go/v4/integration/auth [build failed]
FAIL	firebase.google.com/go/v4/integration/db [build failed]
FAIL	firebase.google.com/go/v4/integration/firestore [build failed]
FAIL	firebase.google.com/go/v4/integration/iid [build failed]
FAIL	firebase.google.com/go/v4/integration/messaging [build failed]
FAIL	firebase.google.com/go/v4/integration/storage [build failed]
ok  	firebase.google.com/go/v4/internal	1.914s
ok  	firebase.google.com/go/v4/messaging	4.046s
FAIL	firebase.google.com/go/v4/storage [build failed]

shogo82148 avatar May 31 '22 07:05 shogo82148