Skip to content

Commit

Permalink
Fix icinga2-list-agents
Browse files Browse the repository at this point in the history
refs #7248
  • Loading branch information
gunnarbeutner committed Oct 24, 2014
1 parent 4661f2c commit 489badc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions agent/icinga2-list-agents.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 489badc

Please sign in to comment.