diff --git a/internal/storage/googledrive/googledrive.go b/internal/storage/googledrive/googledrive.go index 5ad253b..aca66e2 100644 --- a/internal/storage/googledrive/googledrive.go +++ b/internal/storage/googledrive/googledrive.go @@ -6,7 +6,6 @@ package googledrive import ( "context" "fmt" - "io/ioutil" "os" "path/filepath" "strings" @@ -38,8 +37,8 @@ type Config struct { // NewStorageBackend creates and initializes a new Google Drive storage backend. func NewStorageBackend(opts Config, logFunc storage.Log) (storage.Backend, error) { - ctx := context.Background() - b, err := ioutil.ReadFile(opts.CredentialsJSON) +ctx := context.Background() +b, err := os.ReadFile(opts.CredentialsJSON) if err != nil { return nil, errwrap.Wrap(err, "unable to read credentials") }