@@ -220,8 +220,7 @@ func (ops V1DataEngineProxyOps) VolumeFrontendStart(ctx context.Context, req *rp
220220}
221221
222222func (ops V2DataEngineProxyOps ) VolumeFrontendStart (ctx context.Context , req * rpc.EngineVolumeFrontendStartRequest ) (resp * emptypb.Empty , err error ) {
223- /* TODO: Implement this */
224- return & emptypb.Empty {}, nil
223+ return nil , grpcstatus .Errorf (grpccodes .Unimplemented , "VolumeFrontendStart is not yet implemented for V2 engine" )
225224}
226225
227226func (p * Proxy ) VolumeFrontendShutdown (ctx context.Context , req * rpc.ProxyEngineRequest ) (resp * emptypb.Empty , err error ) {
@@ -265,8 +264,7 @@ func (ops V1DataEngineProxyOps) VolumeFrontendShutdown(ctx context.Context, req
265264}
266265
267266func (ops V2DataEngineProxyOps ) VolumeFrontendShutdown (ctx context.Context , req * rpc.ProxyEngineRequest ) (resp * emptypb.Empty , err error ) {
268- /* TODO: Implement this */
269- return & emptypb.Empty {}, nil
267+ return nil , grpcstatus .Errorf (grpccodes .Unimplemented , "VolumeFrontendShutdown is not yet implemented for V2 engine" )
270268}
271269
272270func (p * Proxy ) VolumeUnmapMarkSnapChainRemovedSet (ctx context.Context , req * rpc.EngineVolumeUnmapMarkSnapChainRemovedSetRequest ) (resp * emptypb.Empty , err error ) {
@@ -311,8 +309,7 @@ func (ops V1DataEngineProxyOps) VolumeUnmapMarkSnapChainRemovedSet(ctx context.C
311309}
312310
313311func (ops V2DataEngineProxyOps ) VolumeUnmapMarkSnapChainRemovedSet (ctx context.Context , req * rpc.EngineVolumeUnmapMarkSnapChainRemovedSetRequest ) (resp * emptypb.Empty , err error ) {
314- /* TODO: Implement this */
315- return & emptypb.Empty {}, nil
312+ return nil , grpcstatus .Errorf (grpccodes .Unimplemented , "VolumeUnmapMarkSnapChainRemovedSet is not yet implemented for V2 engine" )
316313}
317314
318315func (p * Proxy ) VolumeSnapshotMaxCountSet (ctx context.Context , req * rpc.EngineVolumeSnapshotMaxCountSetRequest ) (resp * emptypb.Empty , err error ) {
@@ -357,8 +354,7 @@ func (ops V1DataEngineProxyOps) VolumeSnapshotMaxCountSet(ctx context.Context, r
357354}
358355
359356func (ops V2DataEngineProxyOps ) VolumeSnapshotMaxCountSet (ctx context.Context , req * rpc.EngineVolumeSnapshotMaxCountSetRequest ) (resp * emptypb.Empty , err error ) {
360- /* TODO: Implement this */
361- return & emptypb.Empty {}, nil
357+ return nil , grpcstatus .Errorf (grpccodes .Unimplemented , "VolumeSnapshotMaxCountSet is not yet implemented for V2 engine" )
362358}
363359
364360func (p * Proxy ) VolumeSnapshotMaxSizeSet (ctx context.Context , req * rpc.EngineVolumeSnapshotMaxSizeSetRequest ) (resp * emptypb.Empty , err error ) {
@@ -403,8 +399,7 @@ func (ops V1DataEngineProxyOps) VolumeSnapshotMaxSizeSet(ctx context.Context, re
403399}
404400
405401func (ops V2DataEngineProxyOps ) VolumeSnapshotMaxSizeSet (ctx context.Context , req * rpc.EngineVolumeSnapshotMaxSizeSetRequest ) (resp * emptypb.Empty , err error ) {
406- /* TODO: Implement this */
407- return & emptypb.Empty {}, nil
402+ return nil , grpcstatus .Errorf (grpccodes .Unimplemented , "VolumeSnapshotMaxSizeSet is not yet implemented for V2 engine" )
408403}
409404
410405func (p * Proxy ) RemountReadOnlyVolume (ctx context.Context , req * rpc.RemountVolumeRequest ) (resp * emptypb.Empty , err error ) {
0 commit comments