Skip to content

Commit 4e9f501

Browse files
Felixoidsylvestre
authored andcommitted
Add cos feature gate to RemoteStorage
1 parent ff98a50 commit 4e9f501

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/cache/cache.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -470,6 +470,7 @@ impl PreprocessorCacheModeConfig {
470470
feature = "s3",
471471
feature = "webdav",
472472
feature = "oss",
473+
feature = "cos"
473474
))]
474475
pub struct RemoteStorage {
475476
operator: opendal::Operator,
@@ -485,6 +486,7 @@ pub struct RemoteStorage {
485486
feature = "s3",
486487
feature = "webdav",
487488
feature = "oss",
489+
feature = "cos"
488490
))]
489491
impl RemoteStorage {
490492
pub fn new(operator: opendal::Operator, basedirs: Vec<Vec<u8>>) -> Self {
@@ -502,6 +504,7 @@ impl RemoteStorage {
502504
feature = "s3",
503505
feature = "webdav",
504506
feature = "oss",
507+
feature = "cos"
505508
))]
506509
#[async_trait]
507510
impl Storage for RemoteStorage {

0 commit comments

Comments
 (0)