From 43098526d2cab1ddc50fb6ba3faee35b4f97bbd5 Mon Sep 17 00:00:00 2001 From: Csaba Sarkadi Date: Tue, 19 Nov 2024 19:04:17 +0100 Subject: [PATCH] fixup! fixup! fixup! integration testing: add and validate build-time options for tailscale head --- integration/tsic/tsic.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration/tsic/tsic.go b/integration/tsic/tsic.go index 0d1639f9..bfaa70b6 100644 --- a/integration/tsic/tsic.go +++ b/integration/tsic/tsic.go @@ -281,7 +281,7 @@ func New( // build options are not meaningful with pre-existing images, // let's not lead anyone astray by pretending otherwise. defaultBuildConfig := TailscaleInContainerBuildConfig{} - hasBuildConfig := reflect.DeepEqual(defaultBuildConfig, tsic.buildConfig) + hasBuildConfig := !reflect.DeepEqual(defaultBuildConfig, tsic.buildConfig) if hasBuildConfig { return tsic, errInvalidClientConfig }