Skip to content

Commit

Permalink
refactor: change type of swiftv2middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
nddq committed Nov 22, 2023
1 parent 78929a5 commit f6cd50d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cns/restserver/restserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ type HTTPRestService struct {
EndpointStateStore store.KeyValueStore
cniConflistGenerator CNIConflistGenerator
generateCNIConflistOnce sync.Once
SWIFTv2Middleware cns.IPConfigsHandlerMiddleware
SWIFTv2Middleware *middlewares.SWIFTv2Middleware
}

type CNIConflistGenerator interface {
Expand Down

0 comments on commit f6cd50d

Please sign in to comment.