diff options
| author | Tom Proctor <tomhjp@users.noreply.github.com> | 2024-12-09 20:42:10 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-09 20:42:10 +0000 |
| commit | 06c5e83c204b29496e67a8184d9ed7791c05b23c (patch) | |
| tree | 12d75bb64ae39b212666b054d66dfaf42118eeb4 /control/controlhttp/controlhttpserver/controlhttpserver.go | |
| parent | c2761162a002e65e2305f7570b2c54c561ac151f (diff) | |
| download | tailscale-06c5e83c204b29496e67a8184d9ed7791c05b23c.tar.xz tailscale-06c5e83c204b29496e67a8184d9ed7791c05b23c.zip | |
hostinfo: fix testing in container (#14330)
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>
Diffstat (limited to 'control/controlhttp/controlhttpserver/controlhttpserver.go')
0 files changed, 0 insertions, 0 deletions
