]> granicus.if.org Git - icinga2/commitdiff
Fix incorrect attribute name.
authorGunnar Beutner <gunnar.beutner@netways.de>
Sun, 13 Apr 2014 09:16:15 +0000 (11:16 +0200)
committerGunnar Beutner <gunnar.beutner@netways.de>
Sun, 13 Apr 2014 09:16:15 +0000 (11:16 +0200)
Refs #6002

contrib/make-agent-config.py

index c61a4e6e95f29e933f03d2aae38ff7ed7a2a24f4..407bf61358676093b52f324108af9d984ca9b69d 100755 (executable)
@@ -39,7 +39,7 @@ for host, hostinfo in inventory.items():
 
     if "peer" in hostinfo:
         print "  vars.agent_host = \"%s\"" % (hostinfo["peer"]["agent_host"])
-        print "  vars.agent_host = \"%s\"" % (hostinfo["peer"]["agent_port"])
+        print "  vars.agent_port = \"%s\"" % (hostinfo["peer"]["agent_port"])
 
     print "}"
     print ""