From 85430b5ca5654ef2fac240fe16963eef08f0ccf3 Mon Sep 17 00:00:00 2001 From: Tamal Saha Date: Tue, 11 Aug 2020 21:42:48 -0700 Subject: [PATCH] Update vendor folder Signed-off-by: Tamal Saha --- vendor/gomodules.xyz/blobfs/testing/lib.go | 23 ---------------------- vendor/modules.txt | 1 - 2 files changed, 24 deletions(-) delete mode 100644 vendor/gomodules.xyz/blobfs/testing/lib.go 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