mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-09 16:00:22 +00:00
cleanup: remove unnecessary error return type
Signed-off-by: Praveen M <m.praveen@ibm.com>
This commit is contained in:
parent
243a0fd0fb
commit
8fa3ac9fb3
@ -70,14 +70,14 @@ func NewNodeServer(
|
||||
d *csicommon.CSIDriver,
|
||||
t string,
|
||||
nodeLabels, topology, crushLocationMap map[string]string,
|
||||
) (*rbd.NodeServer, error) {
|
||||
) *rbd.NodeServer {
|
||||
cliReadAffinityMapOptions := util.ConstructReadAffinityMapOption(crushLocationMap)
|
||||
ns := rbd.NodeServer{
|
||||
DefaultNodeServer: csicommon.NewDefaultNodeServer(d, t, cliReadAffinityMapOptions, topology, nodeLabels),
|
||||
VolumeLocks: util.NewVolumeLocks(),
|
||||
}
|
||||
|
||||
return &ns, nil
|
||||
return &ns
|
||||
}
|
||||
|
||||
// Run start a non-blocking grpc controller,node and identityserver for
|
||||
|
Loading…
Reference in New Issue
Block a user