diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2004-10-11 21:23:48 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2004-10-11 21:23:48 +0000 |
commit | 92cc4ad9203a338a8354330497984dab26615377 (patch) | |
tree | 7d62472a751d781069076e175f8f3feb8460a88d /src/sbin/Bcfg2Server | |
parent | 170ead5bfa2909abba2624e6f3d18b2ba47bdb33 (diff) | |
download | bcfg2-92cc4ad9203a338a8354330497984dab26615377.tar.gz bcfg2-92cc4ad9203a338a8354330497984dab26615377.tar.bz2 bcfg2-92cc4ad9203a338a8354330497984dab26615377.zip |
fix state uploads
(Logical change 1.87)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@416 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/sbin/Bcfg2Server')
-rw-r--r-- | src/sbin/Bcfg2Server | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sbin/Bcfg2Server b/src/sbin/Bcfg2Server index f5f311dbd..3adbfc2f4 100644 --- a/src/sbin/Bcfg2Server +++ b/src/sbin/Bcfg2Server @@ -127,7 +127,8 @@ class BcfgServer(Server): return Element("OK") def HandleStats(self, xml, (peer, port)): - syslog(LOG_INFO, "Client %s reported state %s"%(peer, xml.attrib['state'])) + e = xml.find(".//Statistics") + syslog(LOG_INFO, "Client %s reported state %s"%(peer, e.attrib['state'])) return Element("ok") def LogFailure(self, failure): |