Commit d3ffbb6
authored
Only
Protobuf message's `Reset` assumes non-nil callers, so check to make
sure we don't cause a panic if the cgroup stats call didn't initialize
those fields.
Signed-off-by: Hamza El-Saawy <[email protected]>Reset non-nil fields. (#2558)1 parent 9fb15b4 commit d3ffbb6
1 file changed
+12
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1027 | 1027 | | |
1028 | 1028 | | |
1029 | 1029 | | |
1030 | | - | |
| 1030 | + | |
| 1031 | + | |
| 1032 | + | |
1031 | 1033 | | |
1032 | | - | |
1033 | | - | |
| 1034 | + | |
| 1035 | + | |
| 1036 | + | |
| 1037 | + | |
| 1038 | + | |
| 1039 | + | |
| 1040 | + | |
| 1041 | + | |
| 1042 | + | |
1034 | 1043 | | |
1035 | 1044 | | |
1036 | 1045 | | |
| |||
0 commit comments