linode / linode-blockstorage-csi-driver

Container Storage Interface (CSI) Driver for Linode Block Storage
Apache License 2.0
64 stars 54 forks source link

internal/driver: Rename and export the driver name #185

Closed nesv closed 2 months ago

nesv commented 2 months ago

The driver's name was currently being stored in an unexported const: driverName. This change renames that const symbol to "Name", which results in it being exported from the package.

The driver name was also being redefined in main.go. By exporting the internal/driver.Name const, it lets us use it from main.go.