Factor out the getInstances function
authorMichele Tartara <mtartara@google.com>
Wed, 26 Jun 2013 08:02:13 +0000 (10:02 +0200)
committerMichele Tartara <mtartara@google.com>
Thu, 4 Jul 2013 17:02:22 +0000 (19:02 +0200)
commit9611c32ea1955fd30ed38bb170fcac19de41b4dd
tree1e2837a930feb1d76947d0628b17a25ade6ee656
parentb2525349f0da75c74432f2dd85abbcad56e56fed
Factor out the getInstances function

The getInstances function can be useful in general, but is defined inside
the InstStatus data collector. This commit takes it out and adds it to
a proper (newly created) library.

Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Klaus Aehlig <aehlig@google.com>
Makefile.am
src/Ganeti/Confd/ClientFunctions.hs [new file with mode: 0644]
src/Ganeti/DataCollectors/InstStatus.hs