Skip to content

Commit

Permalink
fix: error message
Browse files Browse the repository at this point in the history
Signed-off-by: hlts2 <[email protected]>
  • Loading branch information
hlts2 committed Dec 11, 2024
1 parent a5ec0cf commit 75c436f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/driver/controller_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func (d *Driver) CreateVolume(ctx context.Context, req *csi.CreateVolumeRequest)
// }
// snapshot := volSource.GetSnapshot()
// if snapshot == nil {
// return nil, status.Error(codes.InvalidArgument, "failed to get snapshot from the volumeContentSource")
// return nil, status.Error(codes.InvalidArgument, "Volume content source type is set to Snapshot, but the Snapshot is not provided")
// }
// snapshotID = snapshot.GetSnapshotId()
// }
Expand Down

0 comments on commit 75c436f

Please sign in to comment.