Skip to content

Commit

Permalink
Fix obvious code error with foreman inventory
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanCoding authored and shanemcd committed Jan 25, 2021
1 parent 024dc09 commit 0ee73a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion awx/main/models/inventory.py
Original file line number Diff line number Diff line change
Expand Up @@ -1576,7 +1576,7 @@ def get_plugin_env(self, inventory_update, private_data_dir, private_data_files)
def inventory_as_dict(self, inventory_update, private_data_dir):
ret = super(satellite6, self).inventory_as_dict(inventory_update, private_data_dir)
# this inventory plugin requires the fully qualified inventory plugin name
ret['plugin'] = f'{cls.namespace}.{cls.collection}.{cls.plugin_name}'
ret['plugin'] = f'{self.namespace}.{self.collection}.{self.plugin_name}'
return ret


Expand Down

0 comments on commit 0ee73a4

Please sign in to comment.