From 22a8e54f257e0dbcf3ecbf84abeb8eae4b2e72d8 Mon Sep 17 00:00:00 2001 From: Timo Reimann Date: Mon, 16 Dec 2019 21:56:51 +0100 Subject: [PATCH] Include error details in failure to tag volumes --- driver/controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/driver/controller.go b/driver/controller.go index 65b1f50d9..7cf4ae9c5 100644 --- a/driver/controller.go +++ b/driver/controller.go @@ -284,7 +284,7 @@ func (d *Driver) ControllerPublishVolume(ctx context.Context, req *csi.Controlle err = d.tagVolume(ctx, vol) if err != nil { ll.Errorf("error tagging volume: %s", err) - return nil, status.Errorf(codes.Internal, "failed to tag volume") + return nil, status.Errorf(codes.Internal, "failed to tag volume: %s", err) } }