mirror of
https://github.com/juanfont/headscale.git
synced 2024-12-02 03: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,
|
// build options are not meaningful with pre-existing images,
|
||||||
// let's not lead anyone astray by pretending otherwise.
|
// let's not lead anyone astray by pretending otherwise.
|
||||||
defaultBuildConfig := TailscaleInContainerBuildConfig{}
|
defaultBuildConfig := TailscaleInContainerBuildConfig{}
|
||||||
hasBuildConfig := reflect.DeepEqual(defaultBuildConfig, tsic.buildConfig)
|
hasBuildConfig := !reflect.DeepEqual(defaultBuildConfig, tsic.buildConfig)
|
||||||
if hasBuildConfig {
|
if hasBuildConfig {
|
||||||
return tsic, errInvalidClientConfig
|
return tsic, errInvalidClientConfig
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue