mirror of
https://github.com/juanfont/headscale.git
synced 2026-09-18 22:34:54 +09:00
types: drop the proto builders
Remove the Proto() methods and RegisterMethodToV1Enum; the v1 API builds responses from the state views directly now.
This commit is contained in:
@@ -96,7 +96,7 @@ func TestPreAuthKeyACLTags(t *testing.T) {
|
||||
require.NoError(t, err)
|
||||
require.Len(t, listedPaks, 1)
|
||||
|
||||
gotTags := listedPaks[0].Proto().GetAclTags()
|
||||
gotTags := listedPaks[0].Tags
|
||||
slices.Sort(gotTags)
|
||||
assert.Equal(t, expectedTags, gotTags)
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user