From 30e393b439e733107755517a68ebe681dd64a2d5 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Wed, 18 May 2022 00:32:51 +0200 Subject: Fix fmt --- src/api/k2v/error.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/api/k2v') diff --git a/src/api/k2v/error.rs b/src/api/k2v/error.rs index 9263d9be..4c55d8b5 100644 --- a/src/api/k2v/error.rs +++ b/src/api/k2v/error.rs @@ -59,9 +59,7 @@ impl From for Error { match err { HelperError::Internal(i) => Self::Common(CommonError::InternalError(i)), HelperError::BadRequest(b) => Self::Common(CommonError::BadRequest(b)), - HelperError::InvalidBucketName(n) => { - Self::Common(CommonError::InvalidBucketName(n)) - } + HelperError::InvalidBucketName(n) => Self::Common(CommonError::InvalidBucketName(n)), HelperError::NoSuchBucket(n) => Self::Common(CommonError::NoSuchBucket(n)), e => Self::Common(CommonError::BadRequest(format!("{}", e))), } -- cgit v1.2.3