mirror of https://github.com/databricks/cli.git
## Changes This PR also starts storing the DBR versions in the context. Go patch file used: ``` @@ var x expression @@ -dbr.MockRuntime(x, true) +dbr.MockRuntime(x, dbr.Environment{IsDbr: true, Version: "15.4"}) @@ var x expression @@ -dbr.MockRuntime(x, false) +dbr.MockRuntime(x, dbr.Environment{}) ``` ref: https://github.com/uber-go/gopatch ## Why This localised all DBR version accesses to `libs/dbr`. Relevant comment: https://github.com/databricks/cli/pull/2432#discussion_r1982878616 ## Tests Exiting tests are modified. |
||
---|---|---|
.. | ||
context.go | ||
context_test.go | ||
detect.go | ||
detect_test.go |