LGTM, thanks
On Fri, Mar 21, 2014 at 4:07 PM, Petr Pudlak <[email protected]> wrote: > .. to ConfigWriter as well. > > Signed-off-by: Petr Pudlak <[email protected]> > --- > lib/config.py | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/lib/config.py b/lib/config.py > index 4f96108..d165011 100644 > --- a/lib/config.py > +++ b/lib/config.py > @@ -2939,6 +2939,13 @@ class ConfigWriter(object): > > return (None, None) > > + @locking.ssynchronized(_config_lock, shared=1) > + def GetCandidateCerts(self): > + """Returns the candidate certificate map. > + > + """ > + return self._config_data.cluster.candidate_certs > + > @locking.ssynchronized(_config_lock) > def AddNodeToCandidateCerts(self, node_uuid, cert_digest, > info_fn=logging.info, > warn_fn=logging.warn): > -- > 1.9.0.279.gdc9e3eb > > -- -- Helga Velroyen | Software Engineer | [email protected] | Google Germany GmbH Dienerstr. 12 80331 München Registergericht und -nummer: Hamburg, HRB 86891 Sitz der Gesellschaft: Hamburg Geschäftsführer: Graham Law, Christine Elizabeth Flores
