Tom Proctor 3e3d5d8c68
hostinfo: fix testing in container (#14330) (#14337)
Previously this unit test failed if it was run in a container. Update the assert
to focus on exactly the condition we are trying to assert: the package type
should only be 'container' if we use the build tag.

Updates #14317

Signed-off-by: Tom Proctor <tomhjp@users.noreply.github.com>
(cherry picked from commit 06c5e83c204b29496e67a8184d9ed7791c05b23c)
2024-12-10 18:19:25 +00:00
..
2024-12-05 15:27:16 -08:00