Skip to content

Commit 8a05b93

Browse files
author
charlesgauthereau
committed
chore(release): 1.1.3-rc.1
1 parent c186932 commit 8a05b93

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

CITATION.cff

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ keywords:
2222
- self-hosted
2323
- portabase
2424
license: Apache-2.0
25-
version: 1.1.2
25+
version: 1.1.3-rc.1
2626
date-released: "2026-02-16"

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "portabase-agent"
3-
version = "1.1.2"
3+
version = "1.1.3-rc.1"
44
edition = "2024"
55

66
[dependencies]

src/services/backup.rs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,13 +88,10 @@ impl BackupService {
8888

8989
if result.status == "failed" {
9090
error!("Backup failed early for {}", result.generated_id);
91-
9291
let service = BackupService { ctx: ctx.clone() };
93-
9492
let _ = service
9593
.send_result(result, vec![], &backup_id)
9694
.await;
97-
9895
return;
9996
}
10097

@@ -280,8 +277,12 @@ impl BackupService {
280277
} else {
281278
"failed"
282279
};
283-
info!("Storage {} uploaded to remote path {:?}", storage_id, upload_result.remote_file_path);
284280

281+
if status != "success" {
282+
return upload_result;
283+
}
284+
285+
info!("Storage {} uploaded to remote path {:?}", storage_id, upload_result.remote_file_path);
285286

286287
let (remote_path, total_size) = match (
287288
&upload_result.remote_file_path,

src/services/storage/providers/s3/mod.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ impl StorageProvider for S3Provider {
3232
storage: &DatabaseStorage,
3333
encrypt: Option<bool>,
3434
) -> UploadResult {
35+
3536
let Some(file_path) = result.backup_file else {
3637
return UploadResult {
3738
storage_id: storage.id.clone(),
@@ -282,8 +283,6 @@ impl StorageProvider for S3Provider {
282283
"Successfully completed multipart upload: {}",
283284
remote_file_path
284285
);
285-
286-
287286
UploadResult {
288287
storage_id: storage.id.clone(),
289288
success: true,

0 commit comments

Comments
 (0)