From e1b7952f41acefb6e0848f6ff6c5930ab84d7d59 Mon Sep 17 00:00:00 2001 From: Alexander Date: Fri, 24 Feb 2023 05:05:28 -0600 Subject: [PATCH 1/4] fix unit test Signed-off-by: Alexander --- pkg/driver/controllerserver_test.go | 1 - 1 file changed, 1 deletion(-) diff --git a/pkg/driver/controllerserver_test.go b/pkg/driver/controllerserver_test.go index fdef8e3a..29ea80a9 100644 --- a/pkg/driver/controllerserver_test.go +++ b/pkg/driver/controllerserver_test.go @@ -35,7 +35,6 @@ func getCustomControllerServer(csiDriver *S3Driver, factory s3client.ObjectStora return &controllerServer{ S3Driver: csiDriver, cosSession: factory, - newSession: factory, } } From 0cbc3993e6c124671983aabaf741fc2a98137784 Mon Sep 17 00:00:00 2001 From: Alexander Date: Fri, 24 Feb 2023 05:17:07 -0600 Subject: [PATCH 2/4] fix go version travis Signed-off-by: Alexander --- .travis.yml | 2 +- go.mod | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2ae72ab4..b81a6a27 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,7 @@ language: go go: - - "1.18.4" + - "1.20.1" group: bluezone diff --git a/go.mod b/go.mod index c19dea7a..de0c5227 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/IBM/satellite-object-storage-plugin -go 1.18 +go 1.20 require ( github.com/IBM/ibm-cos-sdk-go v1.9.4 From c68815c0df1cde49c01dfc4fc5e9837560587e7a Mon Sep 17 00:00:00 2001 From: Alexander Date: Fri, 24 Feb 2023 05:27:31 -0600 Subject: [PATCH 3/4] fix go version travis to 1.19.6 Signed-off-by: Alexander --- .travis.yml | 2 +- go.mod | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index b81a6a27..393b3801 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,7 @@ language: go go: - - "1.20.1" + - "1.19.6" group: bluezone diff --git a/go.mod b/go.mod index de0c5227..c9a32da1 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/IBM/satellite-object-storage-plugin -go 1.20 +go 1.19 require ( github.com/IBM/ibm-cos-sdk-go v1.9.4 From 9edb690ef4539060dbd6e224f7b05491b6666698 Mon Sep 17 00:00:00 2001 From: Alexander Date: Fri, 24 Feb 2023 05:45:26 -0600 Subject: [PATCH 4/4] fix go version travis to 1.20.1 Signed-off-by: Alexander --- .travis.yml | 2 +- cmd/satellite-object-storage-plugin/Dockerfile | 2 +- go.mod | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 393b3801..b81a6a27 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,7 @@ language: go go: - - "1.19.6" + - "1.20.1" group: bluezone diff --git a/cmd/satellite-object-storage-plugin/Dockerfile b/cmd/satellite-object-storage-plugin/Dockerfile index ae61d324..e9b1bf7a 100644 --- a/cmd/satellite-object-storage-plugin/Dockerfile +++ b/cmd/satellite-object-storage-plugin/Dockerfile @@ -30,7 +30,7 @@ FROM registry.access.redhat.com/ubi8/ubi as rclone-builder RUN yum install wget git gcc -y ENV ARCH=amd64 -ENV GO_VERSION=1.19 +ENV GO_VERSION=1.20 RUN echo $ARCH $GO_VERSION diff --git a/go.mod b/go.mod index c9a32da1..de0c5227 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/IBM/satellite-object-storage-plugin -go 1.19 +go 1.20 require ( github.com/IBM/ibm-cos-sdk-go v1.9.4