Set correct vendor version and display it on launch

This commit is contained in:
Cyrill Troxler 2019-01-19 14:40:58 +01:00
parent d8f966a3de
commit 709162c21b

View file

@ -42,7 +42,7 @@ type s3Volume struct {
}
var (
vendorVersion = "0.1.0"
vendorVersion = "1.0.1-alpha"
driverName = "ch.ctrox.csi.s3-driver"
)
@ -90,6 +90,7 @@ func (s3 *s3) newNodeServer(d *csicommon.CSIDriver) *nodeServer {
func (s3 *s3) Run() {
glog.Infof("Driver: %v ", driverName)
glog.Infof("Version: %v ", vendorVersion)
// Initialize default library driver
s3.driver.AddControllerServiceCapabilities([]csi.ControllerServiceCapability_RPC_Type{csi.ControllerServiceCapability_RPC_CREATE_DELETE_VOLUME})