We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 602adc3 commit 3e19d66Copy full SHA for 3e19d66
1 file changed
libs/testserver/server.go
@@ -14,7 +14,6 @@ import (
14
"github.com/gorilla/mux"
15
16
"github.com/databricks/cli/internal/testutil"
17
- "github.com/databricks/databricks-sdk-go/apierr"
18
)
19
20
type Server struct {
@@ -213,8 +212,8 @@ Response.Body = '<response body here>'
213
212
w.Header().Set("Content-Type", "application/json")
214
w.WriteHeader(http.StatusNotImplemented)
215
216
- resp := apierr.APIError{
217
- Message: "No stub found for pattern: " + pattern,
+ resp := map[string]string{
+ "Message": "No stub found for pattern: " + pattern,
218
}
219
220
respBytes, err := json.Marshal(resp)
0 commit comments