storage: ErrObjectNotExist isn't returning while using CopierFrom. #10760
Labels
api: storage
Issues related to the Cloud Storage API.
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Client
golang google cloud storage
Environment
Alpine Docker on GKE
go version go1.22.6 linux/amd64
Code and Dependencies
Client created like this:
go.mod
Expected behavior
When I call this function with not existed file I expect that the
storage.ErrObjectNotExist
returned.Actual behavior
When I call this function with not existed file, I got the
*googleapi.Error
instance.The text was updated successfully, but these errors were encountered: