Skip to content

Commit d1622c4

Browse files
committed
Clean unused variables and fix typo
- Clean some unused variables - format code. - fix minor typo Signed-off-by: Zhang Wei <zhangwei555@huawei.com>
1 parent ed3ba5e commit d1622c4

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

controller.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,14 +128,11 @@ type ipamData struct {
128128

129129
type driverTable map[string]*driverData
130130

131-
//type networkTable map[string]*network
132-
//type endpointTable map[string]*endpoint
133131
type ipamTable map[string]*ipamData
134132
type sandboxTable map[string]*sandbox
135133

136134
type controller struct {
137-
id string
138-
//networks networkTable
135+
id string
139136
drivers driverTable
140137
ipamDrivers ipamTable
141138
sandboxes sandboxTable

0 commit comments

Comments
 (0)