cmd/tailscale: remove dep on clientupdate package if feature is omitted
We already had a featuretag for clientupdate, but the CLI wasn't using it, making the "minbox" build (minimal combined tailscaled + CLI build) larger than necessary. Updates #12614 Change-Id: Idd7546c67dece7078f25b8f2ae9886f58d599002 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
committed by
Brad Fitzpatrick
parent
569caefeb5
commit
40cd54daf7
@@ -285,9 +285,14 @@ func TestMinTailscaledWithCLI(t *testing.T) {
|
||||
}
|
||||
},
|
||||
BadDeps: map[string]string{
|
||||
"golang.org/x/net/http2": "unexpected x/net/http2 dep; tailscale/tailscale#17305",
|
||||
"expvar": "unexpected expvar dep",
|
||||
"github.com/mdlayher/genetlink": "unexpected genetlink dep",
|
||||
"golang.org/x/net/http2": "unexpected x/net/http2 dep; tailscale/tailscale#17305",
|
||||
"expvar": "unexpected expvar dep",
|
||||
"github.com/mdlayher/genetlink": "unexpected genetlink dep",
|
||||
"tailscale.com/clientupdate": "unexpected clientupdate dep",
|
||||
"filippo.io/edwards25519": "unexpected edwards25519 dep",
|
||||
"github.com/hdevalence/ed25519consensus": "unexpected ed25519consensus dep",
|
||||
"tailscale.com/clientupdate/distsign": "unexpected distsign dep",
|
||||
"archive/tar": "unexpected archive/tar dep",
|
||||
},
|
||||
}.Check(t)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user