From 0ba3174bbc28b6b44c213786c696c4d5788b126f Mon Sep 17 00:00:00 2001 From: gman Date: Wed, 23 May 2018 10:28:25 +0200 Subject: [PATCH] cephfs/NodePublishVolume: fix error message --- pkg/cephfs/nodeserver.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cephfs/nodeserver.go b/pkg/cephfs/nodeserver.go index 6d184f2a3..06b546dff 100644 --- a/pkg/cephfs/nodeserver.go +++ b/pkg/cephfs/nodeserver.go @@ -121,7 +121,7 @@ func (ns *nodeServer) NodePublishVolume(ctx context.Context, req *csi.NodePublis conf := cephConfigData{Monitors: volOptions.Monitors, VolumeUuid: volUuid} 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()) }