mirror of
https://github.com/juanfont/headscale.git
synced 2025-08-14 13:51:01 +02:00
no nil
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit is contained in:
parent
a099c45f62
commit
ac452e4234
@ -744,6 +744,7 @@ func TestRenameNode(t *testing.T) {
|
|||||||
Hostname: "test",
|
Hostname: "test",
|
||||||
UserID: user.ID,
|
UserID: user.ID,
|
||||||
RegisterMethod: util.RegisterMethodAuthKey,
|
RegisterMethod: util.RegisterMethodAuthKey,
|
||||||
|
Hostinfo: &tailcfg.Hostinfo{},
|
||||||
}
|
}
|
||||||
|
|
||||||
node2 := types.Node{
|
node2 := types.Node{
|
||||||
@ -753,6 +754,7 @@ func TestRenameNode(t *testing.T) {
|
|||||||
Hostname: "test",
|
Hostname: "test",
|
||||||
UserID: user2.ID,
|
UserID: user2.ID,
|
||||||
RegisterMethod: util.RegisterMethodAuthKey,
|
RegisterMethod: util.RegisterMethodAuthKey,
|
||||||
|
Hostinfo: &tailcfg.Hostinfo{},
|
||||||
}
|
}
|
||||||
|
|
||||||
err = db.DB.Save(&node).Error
|
err = db.DB.Save(&node).Error
|
||||||
|
Loading…
Reference in New Issue
Block a user