Skip to content

Commit

Permalink
fix agents rpc enum typo
Browse files Browse the repository at this point in the history
  • Loading branch information
paulwe committed Oct 7, 2024
1 parent 603b677 commit d8f8f7f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion protobufs/rpc/agent.proto
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ service AgentInternal {
}

enum JobTerminateReason {
TERINATION_REQUESTED = 0;
TERMINATION_REQUESTED = 0;
AGENT_LEFT_ROOM = 1;
}

Expand Down
8 changes: 4 additions & 4 deletions rpc/agent.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion utils/guid/id.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ func Marshal[T livekit.Guid](id T) livekit.GuidBlock {
}

func MarshalAppend[T livekit.Guid](b []byte, id T) []byte {
b = append(b, make([]byte, 9)...)
b = append(b, make([]byte, Size*3/4)...)
idb := []byte(id)[len(id)-Size:]
for i := 0; i < 3; i++ {
j := i * 3
Expand Down

0 comments on commit d8f8f7f

Please sign in to comment.