diff --git a/rustfs/src/storage/ecfs.rs b/rustfs/src/storage/ecfs.rs index a3fb35e13..29e3d238e 100644 --- a/rustfs/src/storage/ecfs.rs +++ b/rustfs/src/storage/ecfs.rs @@ -98,10 +98,21 @@ impl S3 for FS { Ok(S3Response::new(output)) } + async fn get_object_lock_configuration( + &self, + _req: S3Request, + ) -> S3Result> { + // mc cp step 1 + let output = GetObjectLockConfigurationOutput::default(); + Ok(S3Response::new(output)) + } + #[tracing::instrument] async fn get_object(&self, req: S3Request) -> S3Result> { let input = req.input; + println!("get_object: {:?}", &input); + let output = GetObjectOutput { ..Default::default() }; Ok(S3Response::new(output)) } @@ -110,6 +121,8 @@ impl S3 for FS { async fn head_bucket(&self, req: S3Request) -> S3Result> { let input = req.input; + // mc cp step 2 + Ok(S3Response::new(HeadBucketOutput::default())) } @@ -191,6 +204,8 @@ impl S3 for FS { ) -> S3Result> { let input = req.input; + // mc cp step 3 + let output = CreateMultipartUploadOutput { ..Default::default() }; Ok(S3Response::new(output))