Skip to content

Commit

Permalink
Mitigated issue with failing port retrieval
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Maier <maiera@de.ibm.com>
  • Loading branch information
andy-maier committed Jan 25, 2019
1 parent 7488cc3 commit bf91e1f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion zhmc_ansible_modules/zhmc_adapter.py
Expand Up @@ -516,7 +516,9 @@ def ensure_set(params, check_mode):
ports = adapter.ports.list()
result_ports = list()
for port in ports:
port.pull_full_properties()
# TODO: Disabling the following line mitigates the recent issue
# with HTTP error 404,4 when retrieving port properties.
# port.pull_full_properties()
result_ports.append(port.properties)
result['ports'] = result_ports

Expand Down

0 comments on commit bf91e1f

Please sign in to comment.