Commit 709162c2 authored by Cyrill Troxler's avatar Cyrill Troxler
Browse files

Set correct vendor version and display it on launch

parent d8f966a3
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -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})