Add worker tagging (#862)
This allows workers to have tags assigned to them, which can then be filtered to control which targets they are allowed to serve.
This commit is contained in:
1 parent
595a86508e
commit
717a3b52ee
54 files changed
+2150
-666
No files matched your search
@@ -180,7 +180,7 @@ func TestWorker(t *testing.T, conn *gorm.DB, wrapper wrapping.Wrapper) *servers.
|
||||
id, err := uuid.GenerateUUID()
|
||||
require.NoError(t, err)
|
||||
worker := &servers.Server{
|
||||
Name: "test-session-worker-" + id,
|
||||
PrivateId: "test-session-worker-" + id,
|
||||
Type: servers.ServerTypeWorker.String(),
|
||||
Description: "Test Session Worker",
|
||||
Address: "127.0.0.1",
|
||||
|
||||
Reference in new issue
Block a user