"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
Remove redundant nil checks
teresy5ee1bd7ba462
diff --git a/backend/yandex/api/client.go b/backend/yandex/api/client.goindex 07b7a3430..24a0c9583 100644--- a/backend/yandex/api/client.go+++ b/backend/yandex/api/client.go@@ -67,10 +67,8 @@ var defaultErrorHandler ErrorHandler = func(resp *http.Response) error {func (HTTPRequest *HTTPRequest) run(client *Client) ([]byte, error) {var err errorvalues := make(url.Values)- if HTTPRequest.Parameters != nil {- for k, v := range HTTPRequest.Parameters {- values.Set(k, fmt.Sprintf("%v", v))- }+ for k, v := range HTTPRequest.Parameters {+ values.Set(k, fmt.Sprintf("%v", v))}var req *http.Request