From bb1d3fd2ddfa442dbbbaecbf8b933776bac057f9 Mon Sep 17 00:00:00 2001 From: Neil Prockter Date: Tue, 10 Sep 2024 14:10:09 +0100 Subject: [PATCH] provide more detail on multile collection installs --- src/ansible_compat/runtime.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ansible_compat/runtime.py b/src/ansible_compat/runtime.py index a5e7d987..31f95666 100644 --- a/src/ansible_compat/runtime.py +++ b/src/ansible_compat/runtime.py @@ -309,7 +309,7 @@ def load_collections(self) -> None: raise TypeError(msg) if collection in self.collections: - msg = f"Multiple versions of '{collection}' were found installed, only the first one will be used, {self.collections[collection].version} ({self.collections[collection].path})." + msg = f"Another version of '{collection}' {collection_info['version']} was found installed in {path}, only the first one will be used, {self.collections[collection].version} ({self.collections[collection].path})." logging.warning(msg) else: self.collections[collection] = Collection(