mirror of
https://github.com/rancher/steve.git
synced 2025-04-27 19:05:09 +00:00
sql: drop dead code
Signed-off-by: Silvio Moioli <silvio@moioli.net>
This commit is contained in:
parent
cb311a8ce5
commit
88fd70abbd
@ -293,16 +293,6 @@ func rowToObject(obj *unstructured.Unstructured) {
|
||||
}
|
||||
}
|
||||
|
||||
func tableToList(obj *unstructured.UnstructuredList) {
|
||||
if obj.Object["kind"] != "Table" ||
|
||||
(obj.Object["apiVersion"] != "meta.k8s.io/v1" &&
|
||||
obj.Object["apiVersion"] != "meta.k8s.io/v1beta1") {
|
||||
return
|
||||
}
|
||||
|
||||
obj.Items = tableToObjects(obj.Object)
|
||||
}
|
||||
|
||||
func tableToObjects(obj map[string]interface{}) []unstructured.Unstructured {
|
||||
var result []unstructured.Unstructured
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user