From 723982fcc09298df4a9ea54e1cd5c129fc073fa6 Mon Sep 17 00:00:00 2001 From: conlan0 <87742085+conlan0@users.noreply.github.com> Date: Mon, 5 Aug 2024 16:35:09 -0400 Subject: [PATCH] Delete duplicate function --- agent/rpc.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/agent/rpc.go b/agent/rpc.go index 0b578a4..b6bdf30 100644 --- a/agent/rpc.go +++ b/agent/rpc.go @@ -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() {