From 489badcea822699970d91c18ab6780ea14bf43a9 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Fri, 24 Oct 2014 11:44:11 +0200 Subject: [PATCH] Fix icinga2-list-agents refs #7248 --- agent/icinga2-list-agents.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/agent/icinga2-list-agents.cmake b/agent/icinga2-list-agents.cmake index 8e20389fa..5204c4583 100644 --- a/agent/icinga2-list-agents.cmake +++ b/agent/icinga2-list-agents.cmake @@ -25,10 +25,10 @@ repository = {} for root, dirs, files in os.walk(repository_dir): for file in files: - if len(file) != 64: + if len(file) != 69: continue - fp = open(root + file + ".repo", "r") + fp = open(root + file, "r") repository_info = json.load(fp) fp.close()