Skip to content

Commit 2b54d21

Browse files
committed
Check etc only
1 parent 3b3964d commit 2b54d21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

insights/specs/datasources/host_key_files.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def host_key_files(broker):
4141
raise SkipComponent()
4242

4343
data_list = []
44-
for key_file in error_loadings:
44+
for key_file in [file for file in error_loadings if file.startswith('/etc/')]:
4545
count = 0
4646
if os.path.exists(key_file):
4747
count = 1

0 commit comments

Comments
 (0)