mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-18 02:50:30 +00:00
cephfs/NodePublishVolume: fix error message
This commit is contained in:
parent
1a7b365b95
commit
0ba3174bbc
@ -121,7 +121,7 @@ func (ns *nodeServer) NodePublishVolume(ctx context.Context, req *csi.NodePublis
|
|||||||
|
|
||||||
conf := cephConfigData{Monitors: volOptions.Monitors, VolumeUuid: volUuid}
|
conf := cephConfigData{Monitors: volOptions.Monitors, VolumeUuid: volUuid}
|
||||||
if err = conf.writeToFile(); err != nil {
|
if err = conf.writeToFile(); err != nil {
|
||||||
glog.Errorf("couldn't generate ceph.conf: %v", err)
|
glog.Errorf("failed to write ceph config file to %s: %v", getCephConfPath(volUuid), err)
|
||||||
return nil, status.Error(codes.Internal, err.Error())
|
return nil, status.Error(codes.Internal, err.Error())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user