Skip to content

Commit d07db24

Browse files
authored
provide more detail on multile collection installs (#405)
1 parent 54f94f3 commit d07db24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ansible_compat/runtime.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ def load_collections(self) -> None:
309309
raise TypeError(msg)
310310

311311
if collection in self.collections:
312-
msg = f"Multiple versions of '{collection}' were found installed, only the first one will be used, {self.collections[collection].version} ({self.collections[collection].path})."
312+
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})."
313313
logging.warning(msg)
314314
else:
315315
self.collections[collection] = Collection(

0 commit comments

Comments
 (0)