Skip to content

Commit dd44958

Browse files
committed
Add cos feature gate to RemoteStorage
1 parent 61dbff5 commit dd44958

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
@@ -485,6 +485,7 @@ impl PreprocessorCacheModeConfig {
485485
feature = "s3",
486486
feature = "webdav",
487487
feature = "oss",
488+
feature = "cos"
488489
))]
489490
pub struct RemoteStorage {
490491
operator: opendal::Operator,
@@ -500,6 +501,7 @@ pub struct RemoteStorage {
500501
feature = "s3",
501502
feature = "webdav",
502503
feature = "oss",
504+
feature = "cos"
503505
))]
504506
impl RemoteStorage {
505507
pub fn new(operator: opendal::Operator, basedirs: Vec<Vec<u8>>) -> Self {
@@ -517,6 +519,7 @@ impl RemoteStorage {
517519
feature = "s3",
518520
feature = "webdav",
519521
feature = "oss",
522+
feature = "cos"
520523
))]
521524
#[async_trait]
522525
impl Storage for RemoteStorage {

0 commit comments

Comments
 (0)