Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F32179187
D15216.1765072590.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
448 B
Referenced Files
None
Subscribers
None
D15216.1765072590.diff
View Options
diff --git a/shared/backup_client/src/lib.rs b/shared/backup_client/src/lib.rs
--- a/shared/backup_client/src/lib.rs
+++ b/shared/backup_client/src/lib.rs
@@ -141,7 +141,9 @@
}
let response = request.send().await?;
- if response.status() == StatusCode::NOT_FOUND {
+ if response.status() == StatusCode::NOT_FOUND
+ && matches!(requested_data, RequestedData::UserData)
+ {
return Err(Error::NoBackupData);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Dec 7, 1:56 AM (14 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5842037
Default Alt Text
D15216.1765072590.diff (448 B)
Attached To
Mode
D15216: [commtest][backup-client] Fix expected error response
Attached
Detach File
Event Timeline
Log In to Comment