Skip to content

Commit

Permalink
fix: add back missing lsp gc
Browse files Browse the repository at this point in the history
  • Loading branch information
oilbeater committed Feb 14, 2020
1 parent 7b64a9d commit a036b37
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion pkg/controller/gc.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,13 @@ import (
)

func (c *Controller) gc() error {
gcFunctions := []func() error{c.gcLogicalSwitch, c.gcNode, c.gcLogicalSwitch, c.gcLoadBalancer, c.gcPortGroup}
gcFunctions := []func() error{
c.gcLogicalSwitch,
c.gcNode,
c.gcLogicalSwitch,
c.gcLogicalSwitchPort,
c.gcLoadBalancer,
c.gcPortGroup}
for _, gcFunc := range gcFunctions {
if err := gcFunc(); err != nil {
return err
Expand Down

0 comments on commit a036b37

Please sign in to comment.