diff --git a/runtimevar/gcpsecretmanager/gcpsecretmanager.go b/runtimevar/gcpsecretmanager/gcpsecretmanager.go index cc500b2b33..4c8b15e326 100644 --- a/runtimevar/gcpsecretmanager/gcpsecretmanager.go +++ b/runtimevar/gcpsecretmanager/gcpsecretmanager.go @@ -47,6 +47,7 @@ import ( "time" secretmanager "cloud.google.com/go/secretmanager/apiv1" + "cloud.google.com/go/secretmanager/apiv1/secretmanagerpb" "github.com/google/wire" "gocloud.dev/gcerrors" "gocloud.dev/gcp" @@ -54,7 +55,6 @@ import ( "gocloud.dev/runtimevar" "gocloud.dev/runtimevar/driver" "google.golang.org/api/option" - secretmanagerpb "google.golang.org/genproto/googleapis/cloud/secretmanager/v1" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/credentials" diff --git a/runtimevar/gcpsecretmanager/gcpsecretmanager_test.go b/runtimevar/gcpsecretmanager/gcpsecretmanager_test.go index 698f2dc826..f7f5e66fe9 100644 --- a/runtimevar/gcpsecretmanager/gcpsecretmanager_test.go +++ b/runtimevar/gcpsecretmanager/gcpsecretmanager_test.go @@ -21,13 +21,13 @@ import ( "testing" secretmanager "cloud.google.com/go/secretmanager/apiv1" + "cloud.google.com/go/secretmanager/apiv1/secretmanagerpb" "gocloud.dev/internal/gcerr" "gocloud.dev/internal/testing/setup" "gocloud.dev/runtimevar" "gocloud.dev/runtimevar/driver" "gocloud.dev/runtimevar/drivertest" "google.golang.org/api/option" - secretmanagerpb "google.golang.org/genproto/googleapis/cloud/secretmanager/v1" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" )