summaryrefslogtreecommitdiffhomepage
path: root/internal/pkg/table/roa_test.go
diff options
context:
space:
mode:
authorCarl Baldwin <carl@ecbaldwin.net>2019-10-11 17:32:47 -0600
committerFUJITA Tomonori <fujita.tomonori@gmail.com>2019-10-23 10:51:38 +0900
commit98a539a2e921151cf37d28ce0f2789ec3d003457 (patch)
treede12cf799c052489c2f06298f804a3f23a311278 /internal/pkg/table/roa_test.go
parent5c5deac88845f71ca75d08a6f43574702a057853 (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/roa_test.go')
0 files changed, 0 insertions, 0 deletions