diff options
author | Alex Auvolat <alex@adnab.me> | 2022-05-13 15:10:52 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-05-13 15:10:52 +0200 |
commit | f82b938033f1a01a136315b5f37ecb89b78bca0c (patch) | |
tree | aacba0081d4bd854f3d29a6b9d94202ef94b980d /src/api/s3/xml.rs | |
parent | 96b11524d53b3616a28f33e2b057655be1639f6f (diff) | |
download | garage-f82b938033f1a01a136315b5f37ecb89b78bca0c.tar.gz garage-f82b938033f1a01a136315b5f37ecb89b78bca0c.zip |
Rename error::Error to s3::error::Error
Diffstat (limited to 'src/api/s3/xml.rs')
-rw-r--r-- | src/api/s3/xml.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/s3/xml.rs b/src/api/s3/xml.rs index 75ec4559..111657a0 100644 --- a/src/api/s3/xml.rs +++ b/src/api/s3/xml.rs @@ -1,7 +1,7 @@ use quick_xml::se::to_string; use serde::{Deserialize, Serialize, Serializer}; -use crate::Error as ApiError; +use crate::s3::error::Error as ApiError; pub fn to_xml_with_header<T: Serialize>(x: &T) -> Result<String, ApiError> { let mut xml = r#"<?xml version="1.0" encoding="UTF-8"?>"#.to_string(); |