terraform-provider-databricks icon indicating copy to clipboard operation
terraform-provider-databricks copied to clipboard

Exporter: Emit directories during the listing only if they are explicitly configured in `-listing`

Open alexott opened this issue 1 year ago • 1 comments

Changes

The exporter emitted directories even if they were specified only in -services, leading to the exporting of unnecessary objects. To return to the behavior between 1.38 and 1.45, add directories to the -listing

Tests

  • [x] make test run locally
  • [ ] relevant change in docs/ folder
  • [ ] covered with integration tests in internal/acceptance
  • [ ] relevant acceptance tests are passing
  • [ ] using Go SDK

alexott avatar Jun 13 '24 12:06 alexott

Codecov Report

Attention: Patch coverage is 0% with 3 lines in your changes missing coverage. Please review.

Project coverage is 81.60%. Comparing base (e166af0) to head (09ad85c). Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #3673      +/-   ##
==========================================
- Coverage   81.61%   81.60%   -0.01%     
==========================================
  Files         196      196              
  Lines       19739    19742       +3     
==========================================
+ Hits        16109    16110       +1     
- Misses       2671     2672       +1     
- Partials      959      960       +1     
Files Coverage Δ
exporter/util.go 76.19% <0.00%> (ø)

... and 1 file with indirect coverage changes

codecov-commenter avatar Jun 13 '24 12:06 codecov-commenter