Page MenuHomePhabricator

[services] Backup - Blob Get Client - Add terminate
ClosedPublic

Authored by karol on Sep 1 2022, 4:09 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 18, 3:16 PM
Unknown Object (File)
Sun, Nov 10, 6:57 AM
Unknown Object (File)
Sun, Nov 3, 1:18 PM
Unknown Object (File)
Sun, Oct 27, 8:12 PM
Unknown Object (File)
Sun, Oct 27, 8:12 PM
Unknown Object (File)
Sun, Oct 27, 8:12 PM
Unknown Object (File)
Sun, Oct 27, 8:12 PM
Unknown Object (File)
Sun, Oct 27, 8:09 PM

Details

Summary

Depends on D5015

Adding terminate function to the blob get client.

Test Plan

backup builds

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

This revision is now accepted and ready to land.Sep 5 2022, 5:40 AM
This revision was landed with ongoing or failed builds.Sep 8 2022, 4:10 AM
This revision was automatically updated to reflect the committed changes.
services/backup/blob_client/src/get_client.rs
151–163 ↗(On Diff #16475)

We could have reduced indentation here by simply reversing conditions. See here

services/backup/blob_client/src/get_client.rs
151–163 ↗(On Diff #16475)

Are you sure this is possible when dealing with if let? How exactly can we do this? We need the unpacked values inside of the condition.

services/backup/blob_client/src/get_client.rs
151–163 ↗(On Diff #16475)

Ah, you may be right. Sorry, I'm not so familiar with Rust...