mirror of https://github.com/databricks/cli.git
Return 501 status code when API stub is not implemented (#2327)
## Changes Addresses feedback from https://github.com/databricks/cli/pull/2292#discussion_r1946846865 ## Tests Manually, confirmed that unstubbed API calls still cause acceptance tests to fail.
This commit is contained in:
parent
d282f33a22
commit
ddedc4272d
|
@ -76,7 +76,7 @@ Response.StatusCode = <response status-code here>
|
|||
|
||||
return apierr.APIError{
|
||||
Message: "No stub found for pattern: " + pattern,
|
||||
}, http.StatusNotFound
|
||||
}, http.StatusNotImplemented
|
||||
})
|
||||
|
||||
return s
|
||||
|
|
Loading…
Reference in New Issue