From c29d476919417bdc2d4ba632eebbbb2ba66f36c5 Mon Sep 17 00:00:00 2001 From: Alan Rominger Date: Thu, 21 Jan 2021 10:55:41 -0500 Subject: [PATCH] Fix obvious code error with foreman inventory --- awx/main/models/inventory.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/main/models/inventory.py b/awx/main/models/inventory.py index 4e671af7df..9000fe41c4 100644 --- a/awx/main/models/inventory.py +++ b/awx/main/models/inventory.py @@ -1576,7 +1576,7 @@ class satellite6(PluginFileInjector): 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