Skip to content

Commit 40a8390

Browse files
committed
refactor: change type of swiftv2middleware
1 parent 32cf837 commit 40a8390

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cns/restserver/restserver.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ type HTTPRestService struct {
7373
EndpointStateStore store.KeyValueStore
7474
cniConflistGenerator CNIConflistGenerator
7575
generateCNIConflistOnce sync.Once
76-
SWIFTv2Middleware cns.IPConfigsHandlerMiddleware
76+
SWIFTv2Middleware *middlewares.SWIFTv2Middleware
7777
}
7878

7979
type CNIConflistGenerator interface {

0 commit comments

Comments
 (0)