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
Lint Not Applicable
Unit
Tests Not Applicable

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

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

services/backup/blob_client/src/get_client.rs
151–163

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

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