mirror of
https://github.com/rancher/steve.git
synced 2025-09-25 06:42:35 +00:00
Convert tests to real SQL store (#652)
This commit is contained in:
@@ -946,7 +946,7 @@ func isLabelsFieldList(fields []string) bool {
|
||||
|
||||
// toUnstructuredList turns a slice of unstructured objects into an unstructured.UnstructuredList
|
||||
func toUnstructuredList(items []any) *unstructured.UnstructuredList {
|
||||
objectItems := make([]map[string]any, len(items))
|
||||
objectItems := make([]any, len(items))
|
||||
result := &unstructured.UnstructuredList{
|
||||
Items: make([]unstructured.Unstructured, len(items)),
|
||||
Object: map[string]interface{}{"items": objectItems},
|
||||
|
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user