Skip to content

Commit

Permalink
[autofix.ci] apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Apr 5, 2024
1 parent 8ffb2c8 commit 28c788f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ee/tabby-webserver/src/hub/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ impl RepositoryAccess for SchedulerClient {
fn start_snapshot(&self) -> String {
log_errors("start repository snapshot", || {
let cache = RepositoryCache::new()?;
Ok(cache.get_next_version()?)
cache.get_next_version()
})
}

Check warning on line 207 in ee/tabby-webserver/src/hub/api.rs

View check run for this annotation

Codecov / codecov/patch

ee/tabby-webserver/src/hub/api.rs#L202-L207

Added lines #L202 - L207 were not covered by tests

Expand Down
2 changes: 1 addition & 1 deletion ee/tabby-webserver/src/repositories/resolve.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ impl RepositoryCache {

pub fn clear(&self, version: String) -> Result<()> {
let bucket_name = format!("repositories_{version}");
self.cache.drop_bucket(&bucket_name)?;
self.cache.drop_bucket(bucket_name)?;
Ok(())
}

Check warning on line 75 in ee/tabby-webserver/src/repositories/resolve.rs

View check run for this annotation

Codecov / codecov/patch

ee/tabby-webserver/src/repositories/resolve.rs#L71-L75

Added lines #L71 - L75 were not covered by tests

Expand Down

0 comments on commit 28c788f

Please sign in to comment.