summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorValerii Ponomarov <vponomar@redhat.com>2018-07-19 17:27:42 +0530
committerValerii Ponomarov <vponomar@redhat.com>2018-07-19 17:36:34 +0530
commitf8508c0cd42d8e1ba18e06d79f9ef515faa36fe2 (patch)
tree07af46d8cbb5e13ca0c55aa356f81311640cb245 /examples
parentb7f6a80ceb1af26dec130facb64485ded0db18b2 (diff)
Refactor 'heketi_node_list' function
Do following improvements to this function: - Remove support of python Heketi client, because it is dead code. It is dead code, because all of the tests which use this function, explicitly depend on the CLI output, not being compatible with it. - Remove useless 'json' arg, as CLI client does not support it for 'node list' command. - Parse list of node IDs in it, not delegating this to the consumer. - Raise exception in case we failed to get list of nodes And, of course, update all the places where this function is used. Making those places use less code compared to previous variant. Change-Id: I3f1ffe6082541e63dc3d638c19c54086aa12580f
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions