« Previous | Next » 

Revision fd22ce8e

IDfd22ce8ef81cf23858a0446dcc0c4781a9427b65

Added by Iustin Pop almost 15 years ago

Convert Cluster.loadData to Result return

This patch changes Cluster.loadData to return a Result, instead of
directly the values; this will allow us to return meaningful error
values (e.g. when an instances lives on unknown node) rather than simply
abort. Currently the result is always an Ok, the actual signalling of
errors will come later.

Its callers are changed to accommodate for the new return type and to
display errors as needed.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences