From 22d41e86e7feeffacded080afbfd7b3dd9e538e8 Mon Sep 17 00:00:00 2001 From: Mark Sagi-Kazar Date: Thu, 9 Jan 2025 02:27:45 +0100 Subject: [PATCH] drop iam from google testing library Signed-off-by: Mark Sagi-Kazar --- gcsfs/internal/stiface/interfaces.go | 3 +-- go.mod | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/gcsfs/internal/stiface/interfaces.go b/gcsfs/internal/stiface/interfaces.go index 513ec4d..5332cd8 100644 --- a/gcsfs/internal/stiface/interfaces.go +++ b/gcsfs/internal/stiface/interfaces.go @@ -18,7 +18,6 @@ import ( "context" "io" - "cloud.google.com/go/iam" "cloud.google.com/go/storage" "google.golang.org/api/iterator" ) @@ -59,7 +58,7 @@ type BucketHandle interface { If(storage.BucketConditions) BucketHandle Objects(context.Context, *storage.Query) ObjectIterator ACL() ACLHandle - IAM() *iam.Handle + // IAM() *iam.Handle UserProject(projectID string) BucketHandle Notifications(context.Context) (map[string]*storage.Notification, error) AddNotification(context.Context, *storage.Notification) (*storage.Notification, error) diff --git a/go.mod b/go.mod index c68e810..e2a3080 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,6 @@ module github.com/spf13/afero go 1.19 require ( - cloud.google.com/go/iam v1.1.5 cloud.google.com/go/storage v1.35.1 github.com/pkg/sftp v1.13.6 golang.org/x/crypto v0.16.0 @@ -16,6 +15,7 @@ require ( cloud.google.com/go v0.110.10 // indirect cloud.google.com/go/compute v1.23.3 // indirect cloud.google.com/go/compute/metadata v0.2.3 // indirect + cloud.google.com/go/iam v1.1.5 // indirect github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect github.com/golang/protobuf v1.5.3 // indirect github.com/google/s2a-go v0.1.7 // indirect