🐞 plan -> mapping -> error on no networks #1168
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Ref: #1167
Issue:
When we can't get the target or source inventory we get an error "No Mapping found." but the mappings are available, only the inventory is missing
Fix:
convert the error to warnings
Screenshot:
![failing](https://private-user-images.githubusercontent.com/2181522/333080647-f27afff9-2863-46a5-8b3f-e441d4671c45.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2MTg1MzgsIm5iZiI6MTczOTYxODIzOCwicGF0aCI6Ii8yMTgxNTIyLzMzMzA4MDY0Ny1mMjdhZmZmOS0yODYzLTQ2YTUtOGIzZi1lNDQxZDQ2NzFjNDUucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTVUMTExNzE4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZWE2NDJmM2ZlMjdkMmEyYmUzNTY4ZDVjY2U4ODJmY2E1NGI2MzNhOTBlZjRjOTdmZTRiMjc5YzZjMmYyYTJmOCZYLUFtei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