From 98f207c11cbd269702914e31b4e0883424fb6b35 Mon Sep 17 00:00:00 2001 From: hlts2 Date: Mon, 25 Nov 2024 18:37:52 +0900 Subject: [PATCH] fix: add code comment Signed-off-by: hlts2 --- pkg/driver/controller_server.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/driver/controller_server.go b/pkg/driver/controller_server.go index 6d9c464..07dbc9b 100644 --- a/pkg/driver/controller_server.go +++ b/pkg/driver/controller_server.go @@ -561,7 +561,7 @@ func (d *Driver) ControllerGetCapabilities(context.Context, *csi.ControllerGetCa csi.ControllerServiceCapability_RPC_LIST_VOLUMES, csi.ControllerServiceCapability_RPC_GET_CAPACITY, csi.ControllerServiceCapability_RPC_EXPAND_VOLUME, - csi.ControllerServiceCapability_RPC_CREATE_DELETE_SNAPSHOT, + // csi.ControllerServiceCapability_RPC_CREATE_DELETE_SNAPSHOT, TODO: Uncomment after client implementation is complete. } var csc []*csi.ControllerServiceCapability @@ -605,6 +605,7 @@ func (d *Driver) DeleteSnapshot(ctx context.Context, req *csi.DeleteSnapshotRequ Str("snapshot_id", snapshotID). Msg("Deleting snapshot in Civo API") + // TODO: Uncomment after client implementation is complete. // _, err := d.CivoClient.DeleteVolumeSnapshot(snapshotID) // if err != nil { // if strings.Contains(err.Error(), "DatabaseVolumeSnapshotNotFoundError") {