Skip to content

Commit

Permalink
feat(services/*): Cleanup outdated storage_features and default_stora…
Browse files Browse the repository at this point in the history
…ge_pairs (beyondstorage#968)
  • Loading branch information
JinnyYi authored Oct 26, 2021
1 parent c8f8742 commit ddd1e23
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
4 changes: 0 additions & 4 deletions services/fs/generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 1 addition & 9 deletions services/fs/service.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name = "fs"
implement = ["copier", "mover", "fetcher", "appender", "direr", "linker"]

[namespace.storage.new]
optional = ["storage_features", "default_storage_pairs", "work_dir"]
optional = ["work_dir"]

[namespace.storage.op.create]
optional = ["object_mode"]
Expand All @@ -23,11 +23,3 @@ optional = ["object_mode"]

[namespace.storage.op.write]
optional = ["content_md5", "content_type", "offset", "io_callback"]

[pairs.storage_features]
type = "StorageFeatures"
description = "set storage features"

[pairs.default_storage_pairs]
type = "DefaultStoragePairs"
description = "set default pairs for storager actions"

0 comments on commit ddd1e23

Please sign in to comment.