diff options
| author | Tom Proctor <tomhjp@users.noreply.github.com> | 2024-12-10 18:19:25 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-10 18:19:25 +0000 |
| commit | 3e3d5d8c6861330d44e3b0ac5648f6b2a392ee2a (patch) | |
| tree | 7bc01c58368e7fc77cc7adad53e877b05d8b4320 /control/controlhttp/controlhttpserver/controlhttpserver.go | |
| parent | c80eb698d5057b04d826b5ae2004d4c464ae28f6 (diff) | |
| download | tailscale-3e3d5d8c6861330d44e3b0ac5648f6b2a392ee2a.tar.xz tailscale-3e3d5d8c6861330d44e3b0ac5648f6b2a392ee2a.zip | |
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)
Diffstat (limited to 'control/controlhttp/controlhttpserver/controlhttpserver.go')
0 files changed, 0 insertions, 0 deletions
