From 6822501f28e5569a95d4305a01c6027f151d3f4b Mon Sep 17 00:00:00 2001 From: hlts2 Date: Tue, 19 Nov 2024 18:09:10 +0900 Subject: [PATCH] fix: deleted unnecessary character Signed-off-by: hlts2 --- pkg/driver/node_server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/driver/node_server.go b/pkg/driver/node_server.go index eb33b57..52e020e 100644 --- a/pkg/driver/node_server.go +++ b/pkg/driver/node_server.go @@ -195,7 +195,7 @@ func (d *Driver) NodeUnpublishVolume(ctx context.Context, req *csi.NodeUnpublish if !mounted { if err = os.RemoveAll(targetPath); err != nil { log.Error().Str("targetPath", targetPath).Err(err).Msg("Failed to remove target path") - return nil, status.Errorf(codes.Internal, "failed to remove target path: %q: %s", targetPath, err) + return nil, status.Errorf(codes.Internal, "failed to remove target path %q: %s", targetPath, err) } return &csi.NodeUnpublishVolumeResponse{}, nil