Skip to content

Commit 632b4ca

Browse files
author
Aleksandr Kostyrev
committed
Fix rendering of multiple OS
1 parent 0ed1245 commit 632b4ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

foreman_operatingsystem.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def get_resources(resource_type, resource_specs):
114114
for key in item:
115115
search_data[key] = item[key]
116116
else:
117-
search_data['name'] = item.get('name')
117+
search_data['name'] = item
118118
try:
119119
resource = theforeman.search_resource(resource_type=resource_type, data=search_data)
120120
if not resource:

0 commit comments

Comments
 (0)