Skip to content

Commit

Permalink
add log message to check that code modification works
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandr Stefurishin <[email protected]>
  • Loading branch information
astef committed Dec 4, 2024
1 parent ae89499 commit 5ad28db
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions images/linstor-csi/src/pkg/driver/driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -487,6 +487,8 @@ func (d Driver) NodeGetInfo(ctx context.Context, _ *csi.NodeGetInfoRequest) (*cs

// CreateVolume https://github.com/container-storage-interface/spec/blob/v1.9.0/spec.md#createvolume
func (d Driver) CreateVolume(ctx context.Context, req *csi.CreateVolumeRequest) (*csi.CreateVolumeResponse, error) {
d.log.Info("~~~creating volume with modified linstor-csi~~~")

if req.GetName() == "" {
return nil, missingAttr("CreateVolume", req.GetName(), "Name")
}
Expand Down

0 comments on commit 5ad28db

Please sign in to comment.