diff --git a/object_store/src/aws/mod.rs b/object_store/src/aws/mod.rs index 38884532eb09..fe3b41115034 100644 --- a/object_store/src/aws/mod.rs +++ b/object_store/src/aws/mod.rs @@ -223,7 +223,7 @@ impl ObjectStore for AmazonS3 { bytes: Bytes, options: PutOptions, ) -> Result<()> { - if !options.tags.is_empty() { + if options.tags.is_empty() { self.client .put_request(location, Some(bytes), &(), None) .await?;