File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
bundle/terranova/tnresources Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -98,6 +98,7 @@ func makeCreateJob(config jobs.JobSettings) (jobs.CreateJob, error) {
9898 Tasks : config .Tasks ,
9999 TimeoutSeconds : config .TimeoutSeconds ,
100100 Trigger : config .Trigger ,
101+ UsagePolicyId : config .UsagePolicyId ,
101102 WebhookNotifications : config .WebhookNotifications ,
102103
103104 ForceSendFields : filterFields [jobs.CreateJob ](config .ForceSendFields ),
Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ import (
1414 "github.com/gorilla/mux"
1515
1616 "github.com/databricks/cli/internal/testutil"
17- "github.com/databricks/databricks-sdk-go/apierr"
1817)
1918
2019type Server struct {
@@ -213,8 +212,8 @@ Response.Body = '<response body here>'
213212 w .Header ().Set ("Content-Type" , "application/json" )
214213 w .WriteHeader (http .StatusNotImplemented )
215214
216- resp := apierr. APIError {
217- Message : "No stub found for pattern: " + pattern ,
215+ resp := map [ string ] string {
216+ "message" : "No stub found for pattern: " + pattern ,
218217 }
219218
220219 respBytes , err := json .Marshal (resp )
You can’t perform that action at this time.
0 commit comments