Page MenuHomePhabricator

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

Authored by karol on Sep 1 2022, 4:09 AM.
Tags
None
Referenced Files
F3365928: D5016.diff
Mon, Nov 25, 8:31 AM
F3365926: D5016.id16249.diff
Mon, Nov 25, 8:31 AM
F3365007: D5016.diff
Mon, Nov 25, 6:17 AM
Unknown Object (File)
Fri, Nov 22, 8:15 AM
Unknown Object (File)
Fri, Nov 22, 8:08 AM
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

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...