Skip to content

Commit

Permalink
PB-7977 : Deprecating backupschedule delete_backups flag
Browse files Browse the repository at this point in the history
Signed-off-by: Vikas Kumar <[email protected]>
  • Loading branch information
vikasit12 committed Sep 4, 2024
1 parent 839ae74 commit c8437dd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 15 deletions.
7 changes: 1 addition & 6 deletions pkg/apis/v1/api.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 1 addition & 6 deletions pkg/apis/v1/api.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1135,8 +1135,7 @@ message BackupScheduleInspectResponse {
message BackupScheduleDeleteRequest {
string org_id = 1;
string name = 2;
// delete_backups indicates whether the cloud backup files need to
// be deleted or retained.
// delete_backups is deprecated, not to be used.
bool delete_backups = 3;
string uid = 4;
}
Expand Down Expand Up @@ -1293,8 +1292,6 @@ message ClusterInspectResponse { ClusterObject cluster = 1; }
message ClusterDeleteRequest {
string org_id = 1;
string name = 2;
// delete_backups indicates whether the backup related to cluster need to
// be deleted or retained.
// delete_backups is deprecated, not to be used.
bool delete_backups = 3;
// delete_restores indicates whether the restore related to cluster need to
Expand Down Expand Up @@ -1814,8 +1811,6 @@ message BackupLocationInspectResponse {
message BackupLocationDeleteRequest {
string org_id = 1;
string name = 2;
// delete_backups indicates whether the cloud backup files need to
// be deleted or retained.
// delete_backups is deprecated, not to be used.
bool delete_backups = 3;
string uid = 4;
Expand Down
6 changes: 3 additions & 3 deletions pkg/apis/v1/api.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@
},
{
"name": "delete_backups",
"description": "delete_backups indicates whether the cloud backup files need to\nbe deleted or retained.\ndelete_backups is deprecated, not to be used.",
"description": "delete_backups is deprecated, not to be used.",
"in": "query",
"required": false,
"type": "boolean",
Expand Down Expand Up @@ -793,7 +793,7 @@
},
{
"name": "delete_backups",
"description": "delete_backups indicates whether the cloud backup files need to\nbe deleted or retained.",
"description": "delete_backups is deprecated, not to be used.",
"in": "query",
"required": false,
"type": "boolean",
Expand Down Expand Up @@ -1166,7 +1166,7 @@
},
{
"name": "delete_backups",
"description": "delete_backups indicates whether the backup related to cluster need to\nbe deleted or retained.\ndelete_backups is deprecated, not to be used.",
"description": "delete_backups is deprecated, not to be used.",
"in": "query",
"required": false,
"type": "boolean",
Expand Down

0 comments on commit c8437dd

Please sign in to comment.