Skip to content

Commit

Permalink
cache: add request TypeUrl and ResourceNames to warn log
Browse files Browse the repository at this point in the history
Signed-off-by: Yuki Ito <[email protected]>
  • Loading branch information
110y committed Jun 12, 2023
1 parent 6aeca65 commit 77d3e33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cache/v3/simple.go
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ func (cache *snapshotCache) respond(ctx context.Context, request *Request, value
// if they do not, then the watch is never responded, and it is expected that envoy makes another request
if len(request.ResourceNames) != 0 && cache.ads {
if err := superset(nameSet(request.ResourceNames), resources); err != nil {
cache.log.Warnf("ADS mode: not responding to request: %v", err)
cache.log.Warnf("ADS mode: not responding to request %s%v: %v", request.TypeUrl, request.ResourceNames, err)
return nil
}
}
Expand Down

0 comments on commit 77d3e33

Please sign in to comment.