"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
jottacloud: error strings should not be capitalized
albertonye3d44612c1cf
diff --git a/backend/jottacloud/jottacloud.go b/backend/jottacloud/jottacloud.goindex 1271eda1a..12fe1d255 100644--- a/backend/jottacloud/jottacloud.go+++ b/backend/jottacloud/jottacloud.go@@ -834,12 +834,12 @@ func getOAuthClient(ctx context.Context, name string, m configmap.Mapper) (oAuthif ok {ver, err = strconv.Atoi(version)if err != nil {- return nil, nil, errors.New("Failed to parse config version")+ return nil, nil, errors.New("failed to parse config version")}ok = (ver == configVersion) || (ver == legacyConfigVersion)}if !ok {- return nil, nil, errors.New("Outdated config - please reconfigure this backend")+ return nil, nil, errors.New("outdated config - please reconfigure this backend")}baseClient := fshttp.NewClient(ctx)@@ -885,7 +885,7 @@ func getOAuthClient(ctx context.Context, name string, m configmap.Mapper) (oAuth// Create OAuth ClientoAuthClient, ts, err = oauthutil.NewClientWithBaseClient(ctx, name, m, oauthConfig, baseClient)if err != nil {- return nil, nil, fmt.Errorf("Failed to configure Jottacloud oauth client: %w", err)+ return nil, nil, fmt.Errorf("failed to configure Jottacloud oauth client: %w", err)}return oAuthClient, ts, nil}@@ -1172,7 +1172,7 @@ func parseListRStream(ctx context.Context, r io.Reader, filesystem *Fs, callbackif expected.Folders != actual.Folders ||expected.Files != actual.Files {- return fmt.Errorf("Invalid result from listStream: expected[%#v] != actual[%#v]", expected, actual)+ return fmt.Errorf("invalid result from listStream: expected[%#v] != actual[%#v]", expected, actual)}return nil}