make unstructured items correspond to other items for storage

Kubernetes-commit: 706823aaa8b34ac197230ff7952c095fc0a7a614
This commit is contained in:
deads2k 2017-03-31 15:18:51 -04:00 committed by Kubernetes Publisher
parent bd7878428d
commit 5d5193044b

View File

@ -90,9 +90,9 @@ func TestList(t *testing.T) {
"apiVersion": "vTest",
"kind": "rTestList",
},
Items: []*unstructured.Unstructured{
getObject("vTest", "rTest", "item1"),
getObject("vTest", "rTest", "item2"),
Items: []unstructured.Unstructured{
*getObject("vTest", "rTest", "item1"),
*getObject("vTest", "rTest", "item2"),
},
},
},
@ -108,9 +108,9 @@ func TestList(t *testing.T) {
"apiVersion": "vTest",
"kind": "rTestList",
},
Items: []*unstructured.Unstructured{
getObject("vTest", "rTest", "item1"),
getObject("vTest", "rTest", "item2"),
Items: []unstructured.Unstructured{
*getObject("vTest", "rTest", "item1"),
*getObject("vTest", "rTest", "item2"),
},
},
},