Switch config to pointer

This commit is contained in:
Kristoffer Dalby 2022-06-05 17:47:26 +02:00
parent af891808f6
commit 78ed610b50
3 changed files with 9 additions and 9 deletions

View file

@ -46,7 +46,7 @@ func (s *Suite) ResetDB(c *check.C) {
}
app = Headscale{
cfg: cfg,
cfg: &cfg,
dbType: "sqlite3",
dbString: tmpDir + "/headscale_test.db",
}