Skip to content

Conversation

@Canta
Copy link
Contributor

@Canta Canta commented May 23, 2019

There was a problem when load_json(self.client.request('GET', path))['resources'] is null, as is later expected to be iterated. Therefore, I added a default empty list as output value for that property call.

There was a problem when `load_json(self.client.request('GET', path))['resources']` is null, as is later expected to be iterated. Therefore, I added a default empty list as output value for that property call.
@openshift-ci-robot openshift-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label May 23, 2019
@willthames
Copy link
Contributor

willthames commented May 27, 2019

Based on the discussion in #297 (and thanks for your extra work digging into that), I'm happy with this change.

@fabianvf fabianvf merged commit d5881a9 into openshift:master May 29, 2019
@fabianvf
Copy link
Member

fabianvf commented Jun 4, 2019

/cherrypick release-0.8

@openshift-cherrypick-robot

@fabianvf: #299 failed to apply on top of branch "release-0.8":

error: Failed to merge in the changes.
Using index info to reconstruct a base tree...
M	openshift/dynamic/client.py
Falling back to patching base and 3-way merge...
Auto-merging openshift/dynamic/client.py
CONFLICT (content): Merge conflict in openshift/dynamic/client.py
Patch failed at 0001 FIX for #297

In response to this:

/cherrypick release-0.8

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@fabianvf
Copy link
Member

fabianvf commented Jun 4, 2019

/cherrypick release-0.9

@openshift-cherrypick-robot

@fabianvf: new pull request created: #307

In response to this:

/cherrypick release-0.9

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

willthames pushed a commit to willthames/openshift-restclient-python that referenced this pull request Nov 22, 2019
There was a problem when `load_json(self.client.request('GET', path))['resources']` is null, as is later expected to be iterated. Therefore, I added a default empty list as output value for that property call.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants