Revert "UniStore: Add folder to the SQL backend" (#95966)

Revert "UniStore: Add folder to the SQL backend (#95671)"

This reverts commit f075662696.
This commit is contained in:
Leonor Oliveira
2024-11-06 17:04:57 +02:00
committed by GitHub
parent 26b0e8f105
commit aaa4f4a23e
43 changed files with 72 additions and 235 deletions
+3 -11
View File
@@ -43,7 +43,6 @@ func TestUnifiedStorageQueries(t *testing.T) {
Type: resource.WatchEvent_ADDED,
PreviousRV: 123,
},
Folder: "fldr",
},
},
},
@@ -60,7 +59,6 @@ func TestUnifiedStorageQueries(t *testing.T) {
Name: "name",
},
},
Folder: "fldr",
},
},
},
@@ -77,7 +75,7 @@ func TestUnifiedStorageQueries(t *testing.T) {
Name: "name",
},
},
Response: NewReadResponse(),
readResponse: new(readResponse),
},
},
},
@@ -145,14 +143,9 @@ func TestUnifiedStorageQueries(t *testing.T) {
SQLTemplate: mocks.NewTestingSQLTemplate(),
Request: &resource.ReadRequest{
ResourceVersion: 123,
Key: &resource.ResourceKey{
Namespace: "ns",
Group: "gp",
Resource: "rs",
Name: "nm",
},
Key: &resource.ResourceKey{},
},
Response: NewReadResponse(),
readResponse: new(readResponse),
},
},
},
@@ -180,7 +173,6 @@ func TestUnifiedStorageQueries(t *testing.T) {
},
PreviousRV: 1234,
},
Folder: "fldr",
},
},
},