Skip to content

Commit

Permalink
Add serverless_compute_id field to the config (#952)
Browse files Browse the repository at this point in the history
## Changes
Adding `serverless_compute_id` field to the config following [the same
change](databricks/databricks-sdk-py#685) in
databricks-sdk-py

## Tests

- [x] `make test` passing
- [x] `make fmt` applied
- [ ] relevant integration tests applied

---------

Co-authored-by: Pieter Noordhuis <pcnoordhuis@gmail.com>
  • Loading branch information
alexkh-db and pietern authored Jun 21, 2024
1 parent 00b1d09 commit ce3dc98
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,9 @@ type Config struct {
// Databricks host (either of workspace endpoint or Accounts API endpoint)
Host string `name:"host" env:"DATABRICKS_HOST"`

ClusterID string `name:"cluster_id" env:"DATABRICKS_CLUSTER_ID"`
WarehouseID string `name:"warehouse_id" env:"DATABRICKS_WAREHOUSE_ID"`
ClusterID string `name:"cluster_id" env:"DATABRICKS_CLUSTER_ID"`
WarehouseID string `name:"warehouse_id" env:"DATABRICKS_WAREHOUSE_ID"`
ServerlessComputeID string `name:"serverless_compute_id" env:"DATABRICKS_SERVERLESS_COMPUTE_ID"`

// URL of the metadata service that provides authentication credentials.
MetadataServiceURL string `name:"metadata_service_url" env:"DATABRICKS_METADATA_SERVICE_URL" auth:"metadata-service,sensitive"`
Expand Down

0 comments on commit ce3dc98

Please sign in to comment.