diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-04-08 23:28:52 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-04-08 23:30:09 -0700 |
commit | 21e438d257861eadc1dafcee914e4a51cffd3852 (patch) | |
tree | 7f26c0ae9ce193c952cbb1ea27c9ed9b709380ab /pkg/sentry/fs/file_overlay.go | |
parent | a10389e783aab5f530641394ef44c8a1dede9372 (diff) |
Dereference pointers in Layer's Stringer impl
Dereference any fields which are pointers before string formatting so that the
value pointed to ends up in the string representation.
Tested:
Added TestLayerStringFormat to
//third_party/gvisor/test/packetimpact/testbench:testbench_test
PiperOrigin-RevId: 305627821
Diffstat (limited to 'pkg/sentry/fs/file_overlay.go')
0 files changed, 0 insertions, 0 deletions