• Kubernetes Submit Queue's avatar
    Merge pull request #38570 from smarterclayton/cleanup_body_logging · 9e6b0908
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 38597, 38570)
    
    Logging request / response body should not allocate
    
    Putting string(data) in the critical path causes an allocation which can
    be very large, and happens regardless of whether logging is enabled.
    
    Also, use the more sophisticated logging of body output that avoids
    causing quoting of JSON output (current behavior is "{\"key\":...}" and
    should be {"key":...} for readability).
    
    @wojtek-t reduces large heap allocations on updates
    9e6b0908
Name
Last commit
Last update
..
cache Loading commit data...
chaosclient Loading commit data...
clientset_generated Loading commit data...
conditions Loading commit data...
informers/informers_generated Loading commit data...
leaderelection Loading commit data...
listers Loading commit data...
metrics Loading commit data...
record Loading commit data...
restclient Loading commit data...
retry Loading commit data...
testdata Loading commit data...
testing Loading commit data...
transport Loading commit data...
typed Loading commit data...
unversioned Loading commit data...
OWNERS Loading commit data...