Page MenuHomePhabricator

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

Authored by karol on Sep 1 2022, 4:09 AM.
Tags
None
Referenced Files
F1748032: D5016.id16249.diff
Mon, May 13, 5:21 PM
F1748031: D5016.id16176.diff
Mon, May 13, 5:21 PM
F1748030: D5016.id.diff
Mon, May 13, 5:21 PM
F1746478: D5016.id16448.diff
Mon, May 13, 2:54 PM
Unknown Object (File)
Thu, May 9, 5:16 PM
Unknown Object (File)
Thu, May 9, 12:47 PM
Unknown Object (File)
Mon, May 6, 9:15 PM
Unknown Object (File)
Thu, May 2, 12:45 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...