We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fadcf85 commit 473bd4eCopy full SHA for 473bd4e
plugin/plugin.go
@@ -146,10 +146,6 @@ func (p *Plugin) OnTrafficFromClient(
146
return req, nil
147
}
148
149
-//type UpdateCacheRequest struct {
150
-// serverResponse *v1.Struct
151
-//}
152
-
153
func (p *Plugin) UpdateCache(ctx context.Context) {
154
for {
155
serverResponse, ok := <-p.UpdateCacheChannel
@@ -245,7 +241,7 @@ func (p *Plugin) UpdateCache(ctx context.Context) {
245
241
func (p *Plugin) OnTrafficFromServer(
246
242
_ context.Context, resp *v1.Struct,
247
243
) (*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")
249
p.UpdateCacheChannel <- resp
250
return resp, nil
251
0 commit comments