diff options
author | Fabricio Voznika <fvoznika@google.com> | 2020-09-22 13:43:02 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-09-22 13:45:24 -0700 |
commit | 778c367171f96c6cfd269cd2363c9f608dd96bcb (patch) | |
tree | 1b7eeb9ee7ea511b5c3da439d424d6cbb7d86f39 /pkg/fd | |
parent | 6e5ea605f4ca9fb8c29adc9510edc980f844ddfc (diff) |
Fix panic in `runsc flags`
When printing flags, FlagSet.PrintDefaults compares the Zero
value to the flag default value. The Zero refs.LeakMode value
was panicking in String() because it didn't expect the default
to be used
Closes #4023
PiperOrigin-RevId: 333150836
Diffstat (limited to 'pkg/fd')
0 files changed, 0 insertions, 0 deletions