Skip to content

Commit f2aa5e2

Browse files
committed
update error messages for multi-zone PV resizing & snapshot creation
1 parent 6483ef4 commit f2aa5e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/gce-pd-csi-driver/controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1139,7 +1139,7 @@ func (gceCS *GCEControllerServer) ControllerGetCapabilities(ctx context.Context,
11391139

11401140
func (gceCS *GCEControllerServer) CreateSnapshot(ctx context.Context, req *csi.CreateSnapshotRequest) (*csi.CreateSnapshotResponse, error) {
11411141
if gceCS.multiZoneVolumeHandleConfig.Enable {
1142-
return nil, fmt.Errorf(“Snapshots are not supported with the `multi-zone` PV volumeHandle feature”)
1142+
return nil, fmt.Errorf(“Snapshots are not supported with the `multi-zone` PV volumeHandle feature.”)
11431143
}
11441144

11451145
var err error

0 commit comments

Comments
 (0)