Skip to content

Commit 473bd4e

Browse files
committed
Reduce log level to debug and remove comment
1 parent fadcf85 commit 473bd4e

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

plugin/plugin.go

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -146,10 +146,6 @@ func (p *Plugin) OnTrafficFromClient(
146146
return req, nil
147147
}
148148

149-
//type UpdateCacheRequest struct {
150-
// serverResponse *v1.Struct
151-
//}
152-
153149
func (p *Plugin) UpdateCache(ctx context.Context) {
154150
for {
155151
serverResponse, ok := <-p.UpdateCacheChannel
@@ -245,7 +241,7 @@ func (p *Plugin) UpdateCache(ctx context.Context) {
245241
func (p *Plugin) OnTrafficFromServer(
246242
_ context.Context, resp *v1.Struct,
247243
) (*v1.Struct, error) {
248-
p.Logger.Info("Traffic is coming from the server side")
244+
p.Logger.Debug("Traffic is coming from the server side")
249245
p.UpdateCacheChannel <- resp
250246
return resp, nil
251247
}

0 commit comments

Comments
 (0)