Skip to content

Commit

Permalink
fix function import issue
Browse files Browse the repository at this point in the history
  • Loading branch information
geoffrey1330 committed Jan 10, 2025
1 parent 7d49757 commit 6ec16e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/spdk/nodeserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ func newNodeServer(d *csicommon.CSIDriver) (*nodeServer, error) {
return nil, err
}

go util.monitorConnection(ns.spdkNode)
go util.MonitorConnection(ns.spdkNode)

return ns, nil
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/util/initiator.go
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ func reconnectSubsystems(spdkNode *NodeNVMf) error {
return nil
}

func monitorConnection(spdkNode *NodeNVMf) {
func MonitorConnection(spdkNode *NodeNVMf) {

for {
// Check if cancel is requested
Expand Down

0 comments on commit 6ec16e0

Please sign in to comment.