Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

internxt: fix lint problems

Nick Craig-Woode2a079d73f73
diff --git a/backend/internxt/auth.go b/backend/internxt/auth.go
index 859970305..4bcac9ec4 100644
--- a/backend/internxt/auth.go
+++ b/backend/internxt/auth.go
@@ -19,7 +19,6 @@ import (
"golang.org/x/oauth2"
)
-
type userInfo struct {
RootFolderID string
Bucket string
diff --git a/backend/internxt/internxt.go b/backend/internxt/internxt.go
index 99e048246..942e007fe 100644
--- a/backend/internxt/internxt.go
+++ b/backend/internxt/internxt.go
@@ -743,6 +743,8 @@ func (f *Fs) About(ctx context.Context) (*fs.Usage, error) {
return usage, nil
}
+// Shutdown the backend, closing any background tasks and any cached
+// connections.
func (f *Fs) Shutdown(ctx context.Context) error {
buckets.WaitForPendingThumbnails()