diff options
author | Carl Baldwin <carl@ecbaldwin.net> | 2019-10-11 17:32:47 -0600 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@gmail.com> | 2019-10-23 10:51:38 +0900 |
commit | 98a539a2e921151cf37d28ce0f2789ec3d003457 (patch) | |
tree | de12cf799c052489c2f06298f804a3f23a311278 /internal/pkg/table/table.go | |
parent | 5c5deac88845f71ca75d08a6f43574702a057853 (diff) |
Split Reset into three methods
The Reset method was difficult to understand. The reason is that it
was called in three different ways and did different things in each
case. It is easier to read when the three different modes are each
their own method.
This came up as I was looking deeper into the threading model around
policies. I think this change makes it easier to understand the code.
Diffstat (limited to 'internal/pkg/table/table.go')
0 files changed, 0 insertions, 0 deletions