Skip to content

Commit

Permalink
Don't crash when using deprecated flag
Browse files Browse the repository at this point in the history
  • Loading branch information
rautenrieth-da committed Oct 12, 2021
1 parent 3d71291 commit ad6ff61
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -566,6 +566,12 @@ object Config {
"Set minimum LF version for unstable packages to 1.14. Should not be used in production."
)

// TODO append-only: remove after removing support for the current (mutating) schema
opt[Unit]("index-append-only-schema")
.optional()
.text("Legacy flag with no effect")
.action((_, config) => config)

opt[Unit]("mutable-contract-state-cache")
.optional()
.hidden()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,12 @@ class CommonCliBase(name: LedgerName) {
s"The timeout used for requests by management services of the Ledger API. The default is set to ${SandboxConfig.DefaultManagementServiceTimeout.getSeconds} seconds."
)

// TODO append-only: cleanup
opt[Unit]("enable-append-only-schema")
.optional()
.action((_, config) => config)
.text("Legacy flag with no effect")

// TODO append-only: cleanup
opt[Unit]("enable-compression")
.optional()
Expand Down

0 comments on commit ad6ff61

Please sign in to comment.