make unstructured items correspond to other items for storage

This commit is contained in:
deads2k
2017-03-31 15:18:51 -04:00
parent f5052024ba
commit 706823aaa8
10 changed files with 21 additions and 21 deletions

View File

@@ -106,7 +106,7 @@ func TestDynamicClient(t *testing.T) {
t.Fatalf("expected one pod, got %d", len(unstructuredList.Items))
}
got, err := unstructuredToPod(unstructuredList.Items[0])
got, err := unstructuredToPod(&unstructuredList.Items[0])
if err != nil {
t.Fatalf("unexpected error converting Unstructured to v1.Pod: %v", err)
}