diff --git a/vendor/gomodules.xyz/blobfs/testing/lib.go b/vendor/gomodules.xyz/blobfs/testing/lib.go deleted file mode 100644 index 31cff6e3..00000000 --- a/vendor/gomodules.xyz/blobfs/testing/lib.go +++ /dev/null @@ -1,23 +0,0 @@ -package testing - -import ( - "os" - - "gomodules.xyz/blobfs" -) - -/* -NewTestGCS returns a BlobFS for a gcs bucket url gs:// and credential file -*/ -func NewTestGCS(bucketURL, credential string) (*blobfs.BlobFS, error) { - if v, ok := os.LookupEnv("GOOGLE_APPLICATION_CREDENTIALS"); ok { - credential = v - } else { - err := os.Setenv("GOOGLE_APPLICATION_CREDENTIALS", credential) - if err != nil { - return nil, err - } - } - - return blobfs.New(bucketURL), nil -} diff --git a/vendor/modules.txt b/vendor/modules.txt index 2f797655..5f19c027 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -252,7 +252,6 @@ golang.org/x/xerrors/internal # gomodules.xyz/blobfs v0.1.4 ## explicit gomodules.xyz/blobfs -gomodules.xyz/blobfs/testing # gomodules.xyz/cert v1.1.2 ## explicit gomodules.xyz/cert