Skip to content

Commit

Permalink
Delete duplicate function
Browse files Browse the repository at this point in the history
  • Loading branch information
conlan0 authored Aug 5, 2024
1 parent f5a4463 commit 723982f
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions agent/rpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -340,15 +340,6 @@ func (a *Agent) RunRPC() {
ret.Encode(sw)
msg.Respond(resp)
}()

case "systrayconfig":
go func() {
var resp []byte
ret := codec.NewEncoderBytes(&resp, new(codec.MsgpackHandle))
a.GetSystrayConfig()
ret.Encode("ok")
msg.Respond(resp)
}()

case "systrayconfig":
go func() {
Expand Down

0 comments on commit 723982f

Please sign in to comment.