Skip to content

Commit

Permalink
Reduce log level to debug and remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
sh-soltanpour committed Dec 19, 2023
1 parent fadcf85 commit 473bd4e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions plugin/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,10 +146,6 @@ func (p *Plugin) OnTrafficFromClient(
return req, nil
}

//type UpdateCacheRequest struct {
// serverResponse *v1.Struct
//}

func (p *Plugin) UpdateCache(ctx context.Context) {
for {
serverResponse, ok := <-p.UpdateCacheChannel
Expand Down Expand Up @@ -245,7 +241,7 @@ func (p *Plugin) UpdateCache(ctx context.Context) {
func (p *Plugin) OnTrafficFromServer(
_ context.Context, resp *v1.Struct,
) (*v1.Struct, error) {
p.Logger.Info("Traffic is coming from the server side")
p.Logger.Debug("Traffic is coming from the server side")
p.UpdateCacheChannel <- resp
return resp, nil
}
Expand Down

0 comments on commit 473bd4e

Please sign in to comment.