databricks-sdk-go
databricks-sdk-go copied to clipboard
Trim method path parameters of leading slashes
Changes
Fundamentally prevent regressions like
PUT /api/2.0/fs/files//Volumes/main/x/y/z
> [non-JSON document of 11 bytes]. <io.Reader>
< HTTP/2.0 400 Bad Request
< {
< "error_code": "BAD_REQUEST",
< "message": "Invalid path"
< }
Codecov Report
Attention: 238 lines in your changes are missing coverage. Please review.
Comparison is base (
af0eafe) 16.34% compared to head (3465497) 16.34%.
Additional details and impacted files
@@ Coverage Diff @@
## main #713 +/- ##
=======================================
Coverage 16.34% 16.34%
=======================================
Files 98 98
Lines 13996 13996
=======================================
Hits 2287 2287
Misses 11518 11518
Partials 191 191
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.