diff options
-rw-r--r-- | src/lib/Server/Plugins/Metadata.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/Server/Plugins/Metadata.py b/src/lib/Server/Plugins/Metadata.py index 3f68011ca..94e3cfe26 100644 --- a/src/lib/Server/Plugins/Metadata.py +++ b/src/lib/Server/Plugins/Metadata.py @@ -517,7 +517,6 @@ class Metadata(Bcfg2.Server.Plugin.Plugin, def resolve_client(self, addresspair): '''Lookup address locally or in DNS to get a hostname''' - #print self.session_cache if addresspair in self.session_cache: (stamp, uuid) = self.session_cache[addresspair] if time.time() - stamp < 90: @@ -705,7 +704,7 @@ class Metadata(Bcfg2.Server.Plugin.Plugin, return False # populate the session cache if user != 'root': - self.session_cache[address] = (time.time(), user) + self.session_cache[address] = (time.time(), client) return True def process_statistics(self, meta, _): |