mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 18:43:34 +00:00
Update driver version during build time
update driver version and add git commit to the image. This will help us to identify what latest git commit image contains. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
@ -93,6 +93,7 @@ func getDriverName() string {
|
||||
}
|
||||
|
||||
func main() {
|
||||
klog.Infof("Driver version: %s and Git version: %s", util.DriverVersion, util.GitCommit)
|
||||
var cp util.CachePersister
|
||||
|
||||
driverType := getType()
|
||||
|
Reference in New Issue
Block a user