diff options
author | Alex Auvolat <alex@adnab.me> | 2022-09-13 16:01:55 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-09-13 16:01:55 +0200 |
commit | 44733474bb6c9021c92b59e5c349b4b7ef71409a (patch) | |
tree | c84c61e946b493f2b26931e66f3dc981c80855d5 /src/api/s3 | |
parent | 07febd3ecd0d491ed01b7ca43846aa43e423b2a1 (diff) | |
download | garage-44733474bb6c9021c92b59e5c349b4b7ef71409a.tar.gz garage-44733474bb6c9021c92b59e5c349b4b7ef71409a.zip |
Remove/change println! in server code (fix #358)
Diffstat (limited to 'src/api/s3')
-rw-r--r-- | src/api/s3/bucket.rs | 1 | ||||
-rw-r--r-- | src/api/s3/copy.rs | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/src/api/s3/bucket.rs b/src/api/s3/bucket.rs index 2071fe55..3ac6a6ec 100644 --- a/src/api/s3/bucket.rs +++ b/src/api/s3/bucket.rs @@ -295,7 +295,6 @@ fn parse_create_bucket_xml(xml_bytes: &[u8]) -> Option<Option<String>> { let mut ret = None; for item in cbc.children() { - println!("{:?}", item); if item.has_tag_name("LocationConstraint") { if ret != None { return None; diff --git a/src/api/s3/copy.rs b/src/api/s3/copy.rs index a1a8c9a4..c5a0fc11 100644 --- a/src/api/s3/copy.rs +++ b/src/api/s3/copy.rs @@ -662,7 +662,6 @@ mod tests { last_modified: s3_xml::Value("2011-04-11T20:34:56.000Z".into()), etag: s3_xml::Value("\"9b2cf535f27731c974343645a3985328\"".into()), }; - println!("{}", to_xml_with_header(&v)?); assert_eq!(to_xml_with_header(&v)?, expected_retval); |