databricks-cli/cmd/bundle/deployment
Pieter Noordhuis b21e3c81cd
Make bundle loaders return diagnostics (#1319)
## Changes

The function signature of Cobra's `PreRunE` function has an `error`
return value. We'd like to start returning `diag.Diagnostics` after
loading a bundle, so this is incompatible. This change modifies all
usage of `PreRunE` to load a bundle to inline function calls in the
command's `RunE` function.

## Tests

* Unit tests pass.
* Integration tests pass.
2024-03-28 10:32:34 +00:00
..
bind.go Make bundle loaders return diagnostics (#1319) 2024-03-28 10:32:34 +00:00
deployment.go Added `bundle deployment bind` and `unbind` command (#1131) 2024-02-14 18:04:45 +00:00
unbind.go Make bundle loaders return diagnostics (#1319) 2024-03-28 10:32:34 +00:00