Skip to content

Commit

Permalink
fix agents rpc enum typo (#838)
Browse files Browse the repository at this point in the history
* fix agents rpc enum typo

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
paulwe and github-actions[bot] authored Oct 7, 2024
1 parent bed5f79 commit 136dfa7
Show file tree
Hide file tree
Showing 4 changed files with 74 additions and 73 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
72 changes: 36 additions & 36 deletions rpc/agent.pb.go

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

71 changes: 36 additions & 35 deletions rpc/agent.psrpc.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 136dfa7

Please sign in to comment.