From 91836180828dda2fac65cd801ce7b9255b1a5720 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Fri, 24 Mar 2023 14:14:51 +0100 Subject: [PATCH] backend: fix typos found by codespell --- backend/azureblob/azureblob.go | 2 +- backend/local/metadata_linux.go | 2 +- backend/mega/mega.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/azureblob/azureblob.go b/backend/azureblob/azureblob.go index 85bc208a6..ef5d22ade 100644 --- a/backend/azureblob/azureblob.go +++ b/backend/azureblob/azureblob.go @@ -690,7 +690,7 @@ func NewFs(ctx context.Context, name, root string, m configmap.Mapper) (fs.Fs, e } cred, err = azidentity.NewDefaultAzureCredential(&options) if err != nil { - return nil, fmt.Errorf("create azure enviroment credential failed: %w", err) + return nil, fmt.Errorf("create azure environment credential failed: %w", err) } case opt.UseEmulator: if opt.Account == "" { diff --git a/backend/local/metadata_linux.go b/backend/local/metadata_linux.go index b274148e7..9d9c43355 100644 --- a/backend/local/metadata_linux.go +++ b/backend/local/metadata_linux.go @@ -91,7 +91,7 @@ func readMetadataFromFileFstatat(o *Object, m *fs.Metadata) (err error) { // The types of t.Sec and t.Nsec vary from int32 to int64 on // different Linux architectures so we need to cast them to // int64 here and hence need to quiet the linter about - // unecessary casts. + // unnecessary casts. // // nolint: unconvert m.Set(key, time.Unix(int64(t.Sec), int64(t.Nsec)).Format(metadataTimeFormat)) diff --git a/backend/mega/mega.go b/backend/mega/mega.go index d9a218eee..d2f3b5ac1 100644 --- a/backend/mega/mega.go +++ b/backend/mega/mega.go @@ -90,7 +90,7 @@ permanently delete objects instead.`, MEGA uses plain text HTTP connections by default. Some ISPs throttle HTTP connections, this causes transfers to become very slow. Enabling this will force MEGA to use HTTPS for all transfers. -HTTPS is normally not necesary since all data is already encrypted anyway. +HTTPS is normally not necessary since all data is already encrypted anyway. Enabling it will increase CPU usage and add network overhead.`, Default: false, Advanced: true,