Skip to content

Fix license header inconsistencies#97

Merged
santhoshatdell merged 5 commits into
mainfrom
autofix/license-header
Sep 10, 2025
Merged

Fix license header inconsistencies#97
santhoshatdell merged 5 commits into
mainfrom
autofix/license-header

Conversation

@github-actions

@github-actions github-actions Bot commented Sep 8, 2025

Copy link
Copy Markdown

This PR standardizes license headers across applicable files by adding missing licenses and fixing formatting issues.
Auto-generated by common-github-actions

atye
atye previously approved these changes Sep 10, 2025
@santhoshatdell santhoshatdell requested a review from atye September 10, 2025 20:16
@github-actions

Copy link
Copy Markdown
Author

Merging this branch will not change overall coverage

Impacted Packages Coverage Δ 🤖
github.com/dell/gocsi 90.06% (ø)
github.com/dell/gocsi/context 96.43% (ø)
github.com/dell/gocsi/csc 100.00% (ø)
github.com/dell/gocsi/csc/cmd 92.20% (ø)
github.com/dell/gocsi/middleware/logging 100.00% (ø)
github.com/dell/gocsi/middleware/requestid 93.10% (ø)
github.com/dell/gocsi/middleware/serialvolume 91.86% (ø)
github.com/dell/gocsi/middleware/serialvolume/etcd 90.55% (ø)
github.com/dell/gocsi/middleware/serialvolume/lockprovider 0.00% (ø)
github.com/dell/gocsi/middleware/specvalidator 91.29% (ø)
github.com/dell/gocsi/mock 0.00% (ø)
github.com/dell/gocsi/mock/provider 0.00% (ø)
github.com/dell/gocsi/mock/service 0.00% (ø)
github.com/dell/gocsi/testing 0.00% (ø)
github.com/dell/gocsi/utils/csi 90.31% (ø)
github.com/dell/gocsi/utils/middleware 100.00% (ø)
github.com/dell/gocsi/utils/rpcs 100.00% (ø)

Coverage by file

Changed files (no unit tests)

Changed File Coverage Δ Total Covered Missed 🤖
github.com/dell/gocsi/context/context.go 96.43% (ø) 28 27 1
github.com/dell/gocsi/csc/cmd/controller.go 100.00% (ø) 6 6 0
github.com/dell/gocsi/csc/cmd/controller_create_snapshot.go 100.00% (ø) 18 18 0
github.com/dell/gocsi/csc/cmd/controller_create_volume.go 100.00% (ø) 33 33 0
github.com/dell/gocsi/csc/cmd/controller_delete_snapshot.go 100.00% (ø) 13 13 0
github.com/dell/gocsi/csc/cmd/controller_delete_volume.go 100.00% (ø) 13 13 0
github.com/dell/gocsi/csc/cmd/controller_expand_volume.go 100.00% (ø) 24 24 0
github.com/dell/gocsi/csc/cmd/controller_get_capabilities.go 100.00% (ø) 9 9 0
github.com/dell/gocsi/csc/cmd/controller_get_capacity.go 100.00% (ø) 10 10 0
github.com/dell/gocsi/csc/cmd/controller_list_snapshots.go 92.00% (ø) 25 23 2
github.com/dell/gocsi/csc/cmd/controller_list_volumes.go 86.96% (ø) 23 20 3
github.com/dell/gocsi/csc/cmd/controller_publish_volume.go 100.00% (ø) 24 24 0
github.com/dell/gocsi/csc/cmd/controller_unpublish_volume.go 100.00% (ø) 14 14 0
github.com/dell/gocsi/csc/cmd/controller_validate_volume_capabilities.go 94.74% (ø) 19 18 1
github.com/dell/gocsi/csc/cmd/flags.go 100.00% (ø) 28 28 0
github.com/dell/gocsi/csc/cmd/formats.go 0.00% (ø) 0 0 0
github.com/dell/gocsi/csc/cmd/identity.go 100.00% (ø) 6 6 0
github.com/dell/gocsi/csc/cmd/identity_get_plugin_capabilities.go 85.71% (ø) 7 6 1
github.com/dell/gocsi/csc/cmd/identity_get_plugin_info.go 85.71% (ø) 7 6 1
github.com/dell/gocsi/csc/cmd/identity_probe.go 85.71% (ø) 7 6 1
github.com/dell/gocsi/csc/cmd/interceptors.go 53.57% (ø) 28 15 13
github.com/dell/gocsi/csc/cmd/node.go 100.00% (ø) 6 6 0
github.com/dell/gocsi/csc/cmd/node_expand_volume.go 100.00% (ø) 22 22 0
github.com/dell/gocsi/csc/cmd/node_get_capabilities.go 100.00% (ø) 9 9 0
github.com/dell/gocsi/csc/cmd/node_get_info.go 100.00% (ø) 7 7 0
github.com/dell/gocsi/csc/cmd/node_get_volume_stats.go 100.00% (ø) 16 16 0
github.com/dell/gocsi/csc/cmd/node_publish_volume.go 100.00% (ø) 23 23 0
github.com/dell/gocsi/csc/cmd/node_stage_volume.go 100.00% (ø) 21 21 0
github.com/dell/gocsi/csc/cmd/node_unpublish_volume.go 100.00% (ø) 13 13 0
github.com/dell/gocsi/csc/cmd/node_unstage_volume.go 100.00% (ø) 13 13 0
github.com/dell/gocsi/csc/cmd/root.go 80.26% (ø) 76 61 15
github.com/dell/gocsi/csc/cmd/usage.go 90.91% (ø) 44 40 4
github.com/dell/gocsi/csc/cmd/vartypes.go 87.50% (ø) 64 56 8
github.com/dell/gocsi/csc/main.go 100.00% (ø) 1 1 0
github.com/dell/gocsi/envvars.go 84.85% (ø) 33 28 5
github.com/dell/gocsi/gocsi.go 86.93% (ø) 199 173 26
github.com/dell/gocsi/middleware.go 98.00% (ø) 100 98 2
github.com/dell/gocsi/middleware/logging/logging_interceptor.go 100.00% (ø) 68 68 0
github.com/dell/gocsi/middleware/requestid/request_id_injector.go 93.10% (ø) 29 27 2
github.com/dell/gocsi/middleware/serialvolume/default_lock_provider.go 100.00% (ø) 14 14 0
github.com/dell/gocsi/middleware/serialvolume/etcd/etcd_envvars.go 0.00% (ø) 0 0 0
github.com/dell/gocsi/middleware/serialvolume/etcd/etcd_lock_provider.go 90.55% (ø) 127 115 12
github.com/dell/gocsi/middleware/serialvolume/lockprovider/volume_lock_provider.go 0.00% (ø) 0 0 0
github.com/dell/gocsi/middleware/serialvolume/serial_volume_locker.go 90.28% (ø) 72 65 7
github.com/dell/gocsi/middleware/specvalidator/spec_validator.go 91.29% (ø) 264 241 23
github.com/dell/gocsi/middleware/specvalidator/specvalidator_envvars.go 0.00% (ø) 0 0 0
github.com/dell/gocsi/mock/main.go 0.00% (ø) 0 0 0
github.com/dell/gocsi/mock/plugin.go 0.00% (ø) 0 0 0
github.com/dell/gocsi/mock/provider/provider.go 0.00% (ø) 0 0 0
github.com/dell/gocsi/mock/service/controller.go 0.00% (ø) 0 0 0
github.com/dell/gocsi/mock/service/identity.go 0.00% (ø) 0 0 0
github.com/dell/gocsi/mock/service/node.go 0.00% (ø) 0 0 0
github.com/dell/gocsi/mock/service/service.go 0.00% (ø) 0 0 0
github.com/dell/gocsi/usage.go 0.00% (ø) 0 0 0
github.com/dell/gocsi/utils/csi/csi.go 90.31% (ø) 227 205 22
github.com/dell/gocsi/utils/middleware/middleware.go 100.00% (ø) 30 30 0
github.com/dell/gocsi/utils/rpcs/rpcs.go 100.00% (ø) 8 8 0

Please note that the "Total", "Covered", and "Missed" counts above refer to code statements instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code.

Changed unit test files

  • github.com/dell/gocsi/context/context_test.go
  • github.com/dell/gocsi/csc/cmd/controller_test.go
  • github.com/dell/gocsi/csc/cmd/flags_test.go
  • github.com/dell/gocsi/csc/cmd/identity_test.go
  • github.com/dell/gocsi/csc/cmd/node_test.go
  • github.com/dell/gocsi/csc/cmd/root_test.go
  • github.com/dell/gocsi/csc/cmd/usage_test.go
  • github.com/dell/gocsi/csc/cmd/vartypes_test.go
  • github.com/dell/gocsi/csc/main_test.go
  • github.com/dell/gocsi/gocsi_test.go
  • github.com/dell/gocsi/middleware/logging/logging_interceptor_test.go
  • github.com/dell/gocsi/middleware/requestid/request_id_injector_test.go
  • github.com/dell/gocsi/middleware/serialvolume/default_lock_provider_test.go
  • github.com/dell/gocsi/middleware/serialvolume/etcd/etcd_lock_provider_test.go
  • github.com/dell/gocsi/middleware/serialvolume/lockprovider/volume_lock_provider_test.go
  • github.com/dell/gocsi/middleware/serialvolume/serial_volume_locker_test.go
  • github.com/dell/gocsi/middleware/specvalidator/spec_validator_test.go
  • github.com/dell/gocsi/testing/controller_test.go
  • github.com/dell/gocsi/testing/gocsi_suite_test.go
  • github.com/dell/gocsi/testing/gocsi_test.go
  • github.com/dell/gocsi/testing/identity_test.go
  • github.com/dell/gocsi/testing/node_test.go
  • github.com/dell/gocsi/utils/csi/csi_suite_test.go
  • github.com/dell/gocsi/utils/csi/csi_test.go
  • github.com/dell/gocsi/utils/middleware/middleware_test.go
  • github.com/dell/gocsi/utils/rpcs/rpcs_test.go

@santhoshatdell santhoshatdell merged commit d95e26e into main Sep 10, 2025
6 checks passed
@santhoshatdell santhoshatdell deleted the autofix/license-header branch September 10, 2025 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants