Fix machine test from marger

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit is contained in:
Kristoffer Dalby 2022-10-03 09:18:48 +02:00
parent a3d3ad2208
commit df36bcfd39
No known key found for this signature in database

View file

@ -353,7 +353,7 @@ func (s *Suite) TestGenerateGivenName(c *check.C) {
namespace2, err := app.CreateNamespace("namespace-2") namespace2, err := app.CreateNamespace("namespace-2")
c.Assert(err, check.IsNil) c.Assert(err, check.IsNil)
pak, err := app.CreatePreAuthKey(namespace1.Name, false, false, nil) pak, err := app.CreatePreAuthKey(namespace1.Name, false, false, nil, nil)
c.Assert(err, check.IsNil) c.Assert(err, check.IsNil)
_, err = app.GetMachine("namespace-1", "testmachine") _, err = app.GetMachine("namespace-1", "testmachine")