mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-29 18:33:05 +00:00
fixup! fixup! fixup! integration testing: add and validate build-time options for tailscale head
This commit is contained in:
parent
2bba07d41c
commit
43098526d2
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue