Skip to content

Commit cc51e6b

Browse files
authored
Removed obsolete GCP CVS driver
1 parent 23cefa1 commit cc51e6b

35 files changed

+1210
-9738
lines changed

cli/cmd/get_backend_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ func getFakeBackends1() []storage.BackendExternal {
5656
State: storage.Online,
5757
Online: true,
5858
Config: map[string]interface{}{
59-
"storageDriverName": "gcp-cvs",
59+
"storageDriverName": "gcp-gcnv",
6060
},
6161
Volumes: []string{},
6262
},
@@ -122,7 +122,7 @@ func TestGetBackendCmd_RunE(t *testing.T) {
122122
State: storage.Online,
123123
Online: true,
124124
Config: map[string]interface{}{
125-
"storageDriverName": "gcp-cvs",
125+
"storageDriverName": "gcp-gcnv",
126126
},
127127
},
128128
})

config/config.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,6 @@ const (
262262
OntapSANEconomyStorageDriverName = "ontap-san-economy"
263263
SolidfireSANStorageDriverName = "solidfire-san"
264264
AzureNASStorageDriverName = "azure-netapp-files"
265-
GCPNFSStorageDriverName = "gcp-cvs"
266265
GCNVNASStorageDriverName = "google-cloud-netapp-volumes"
267266
FakeStorageDriverName = "fake"
268267

core/orchestrator_core_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7833,8 +7833,8 @@ func TestListLogLayers(t *testing.T) {
78337833
layers, err := o.ListLogLayers(ctx())
78347834
expected := []string{
78357835
"all", "azure-netapp-files", "core", "crd_frontend", "csi_frontend", "docker_frontend",
7836-
"fake", "gcp-cvs", "ontap-nas", "ontap-nas-economy", "ontap-nas-flexgroup",
7837-
"ontap-san", "ontap-san-economy", "persistent_store", "rest_frontend", "solidfire-san",
7836+
"fake", "ontap-nas", "ontap-nas-economy", "ontap-nas-flexgroup", "ontap-san", "ontap-san-economy",
7837+
"persistent_store", "rest_frontend", "solidfire-san",
78387838
}
78397839
assert.Equal(t, expected, layers)
78407840
assert.NoError(t, err)

logging/defined_log_layers.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ const (
2020
LogLayerPersistentStore = LogLayer("persistent_store")
2121
LogLayerANFNASDriver = LogLayer(AzureNASStorageDriverName)
2222
LogLayerSolidfireDriver = LogLayer(SolidfireSANStorageDriverName)
23-
LogLayerGCPNASDriver = LogLayer(GCPNFSStorageDriverName)
2423
LogLayerGCNVNASDriver = LogLayer(GCNVNASStorageDriverName)
2524
LogLayerOntapNASDriver = LogLayer(OntapNASStorageDriverName)
2625
LogLayerOntapNASFlexgroupDriver = LogLayer(OntapNASFlexGroupStorageDriverName)
@@ -42,7 +41,6 @@ var layers = []LogLayer{
4241
LogLayerPersistentStore,
4342
LogLayerANFNASDriver,
4443
LogLayerSolidfireDriver,
45-
LogLayerGCPNASDriver,
4644
LogLayerOntapNASDriver,
4745
LogLayerOntapNASFlexgroupDriver,
4846
LogLayerOntapNASQtreeDriver,

logging/logger_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -736,8 +736,8 @@ func TestSetContextLogLayer(t *testing.T) {
736736
func TestListLogLayers(t *testing.T) {
737737
assert.Equal(t, []string{
738738
"all", "azure-netapp-files", "core", "crd_frontend", "csi_frontend", "docker_frontend",
739-
"fake", "gcp-cvs", "ontap-nas", "ontap-nas-economy", "ontap-nas-flexgroup",
740-
"ontap-san", "ontap-san-economy", "persistent_store", "rest_frontend", "solidfire-san",
739+
"fake", "ontap-nas", "ontap-nas-economy", "ontap-nas-flexgroup", "ontap-san", "ontap-san-economy",
740+
"persistent_store", "rest_frontend", "solidfire-san",
741741
}, ListLogLayers())
742742
}
743743

mocks/mock_storage_drivers/mock_gcp/mock_api.go

Lines changed: 218 additions & 196 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)