Skip to content
Snippets Groups Projects
Commit b2890442 authored by Guido Trotter's avatar Guido Trotter
Browse files

ganeti-masterd: avoid SimpleConfigReader


SimpleStore is a lot less heavyweight than SimpleConfigReader, and to
just get the master name we can use that. This is the only usage of
SimpleConfigReader currently, but we're not going to delete the class,
as new usages will come in for ganeti-confd (in 2.1). Using it there,
though, will make the class even more heavy to load, so it makes sense
for this simple usage to be converted.

Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
parent b8810fec
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment