@@ -103,18 +103,23 @@ func (cs *ControllerServer) ValidateVolumeCapabilities(_ context.Context, req *c
103103}
104104
105105// ControllerPublishVolume Attaching Volume
106- func (cs * ControllerServer ) ControllerPublishVolume (_ context.Context , _ * csi.ControllerPublishVolumeRequest ) (* csi.ControllerPublishVolumeResponse , error ) {
106+ func (cs * ControllerServer ) ControllerPublishVolume (_ context.Context , req * csi.ControllerPublishVolumeRequest ) (* csi.ControllerPublishVolumeResponse , error ) {
107+ klog .Infof ("ControllerPublishVolume called with: %v" , * req )
108+
107109 return nil , status .Errorf (codes .Unimplemented , "method ControllerPublishVolume not implemented" )
108110}
109111
110112// ControllerUnpublishVolume Detaching Volume
111- func (cs * ControllerServer ) ControllerUnpublishVolume (_ context.Context , _ * csi.ControllerUnpublishVolumeRequest ) (* csi.ControllerUnpublishVolumeResponse , error ) {
113+ func (cs * ControllerServer ) ControllerUnpublishVolume (_ context.Context , req * csi.ControllerUnpublishVolumeRequest ) (* csi.ControllerUnpublishVolumeResponse , error ) {
114+ klog .Infof ("ControllerUnpublishVolume called with: %v" , * req )
115+
112116 return nil , status .Errorf (codes .Unimplemented , "method ControllerUnpublishVolume not implemented" )
113117}
114118
115119// CreateVolume Provisioning Volumes
116120func (cs * ControllerServer ) CreateVolume (ctx context.Context , req * csi.CreateVolumeRequest ) (* csi.CreateVolumeResponse , error ) {
117- klog .Infof ("ControllerCreateVolume: called with args %+v" , * req )
121+ klog .Infof ("CreateVolume called with: %v" , * req )
122+
118123 volumeName := req .GetName ()
119124 if len (volumeName ) == 0 {
120125 return nil , status .Error (codes .InvalidArgument , "CreateVolume name must be provided" )
@@ -172,6 +177,8 @@ func (cs *ControllerServer) CreateVolume(ctx context.Context, req *csi.CreateVol
172177}
173178
174179func (cs * ControllerServer ) DeleteVolume (_ context.Context , req * csi.DeleteVolumeRequest ) (* csi.DeleteVolumeResponse , error ) {
180+ klog .Infof ("DeleteVolume called with: %v" , * req )
181+
175182 volId := req .GetVolumeId ()
176183 if len (volId ) == 0 {
177184 return nil , status .Error (codes .InvalidArgument , "DeleteVolume must be provided volume id" )
0 commit comments