linode / linode-blockstorage-csi-driver

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

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

Closed nesv closed 4 months ago

nesv commented 4 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.