Remove unused fields from RegisterWorkerRequest (#2866)

This commit is contained in:
Benjamin Pracht
2024-07-15 15:22:20 -07:00
committed by GitHub
parent fe05322f7f
commit a9aa65fdc6
4 changed files with 3 additions and 7 deletions
-2
View File
@@ -79,7 +79,6 @@ type Worker struct {
jobType livekit.JobType
version string
agentName string
name string
namespace string
load float32
permissions *livekit.ParticipantPermission
@@ -324,7 +323,6 @@ func (w *Worker) handleRegister(req *livekit.RegisterWorkerRequest) {
}
w.version = req.Version
w.name = req.Name
w.agentName = req.GetAgentName()
w.namespace = req.GetNamespace()
w.jobType = req.GetType()