|
Ran
|
Jobs
12
|
Files
249
|
Run time
57min
|
Badge
README BADGES
|
push
travis-ci-com
<a href="https://github.com/openshift/openshift-restclient-python/commit/<a class=hub.com/openshift/openshift-restclient-python/commit/5b32a840727c82594c5163e4ba00b7aebd96fa42">5b32a8407<a href="https://github.com/openshift/openshift-restclient-python/commit/5b32a840727c82594c5163e4ba00b7aebd96fa42">">Always set apiVersion and kind for resources within a resource list (#298) (#302) * Always set apiVersion and kind for resources within a resource list When the Kubernetes REST API returns a list of objects, it returns a resource list object with an apiVersion and kind set to &quot;KindList&quot; where &quot;Kind&quot; is the Kind of object queried, rather than an simple array of objects. The `items` property contains the array of resources returned. Each resource in this list does not contain the GVK information, only the resource list has an apiVersion or kind property set. This ensures when a resource list is returned, each resource within the list has it&#39;s apiVersion and kind set, to make it similar to other Kubernetes clients, and easier to work with the returned resources. * Just do one big serialization at the end of a ResourceList operation (cherry picked from commit </a><a class="double-link" href="https://github.com/openshift/openshift-restclient-python/commit/<a class="double-link" href="https://github.com/openshift/openshift-restclient-python/commit/68cc0e3a73c16928ea9e4b7fc2fff828beab47e3">68cc0e3a7</a>">68cc0e3a7</a><a href="https://github.com/openshift/openshift-restclient-python/commit/5b32a840727c82594c5163e4ba00b7aebd96fa42">)
1032 of 16055 branches covered (6.43%)
8946 of 39055 relevant lines covered (22.91%)
2.13 hits per line