-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set back patch for DeleteOnVmDeletion
Signed-off-by: Jérôme Jutteau <[email protected]>
- Loading branch information
1 parent
6c263a4
commit 35c2339
Showing
2 changed files
with
30 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
From 13e02250cdbe94fd8c67d3895759b9e1185e550b Mon Sep 17 00:00:00 2001 | ||
From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Jutteau?= <[email protected]> | ||
Date: Wed, 9 Nov 2022 12:22:12 +0100 | ||
Subject: [PATCH] Set back patch for DeleteOnVmDeletion | ||
MIME-Version: 1.0 | ||
Content-Type: text/plain; charset=UTF-8 | ||
Content-Transfer-Encoding: 8bit | ||
|
||
Signed-off-by: Jérôme Jutteau <[email protected]> | ||
--- | ||
osc/model_bsu_to_create.go | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/osc/model_bsu_to_create.go b/osc/model_bsu_to_create.go | ||
index 568214a6..498e3cb9 100644 | ||
--- a/osc/model_bsu_to_create.go | ||
+++ b/osc/model_bsu_to_create.go | ||
@@ -13,7 +13,7 @@ package osc | ||
// BsuToCreate Information about the BSU volume to create. | ||
type BsuToCreate struct { | ||
// By default or if set to true, the volume is deleted when terminating the VM. If false, the volume is not deleted when terminating the VM. | ||
- DeleteOnVmDeletion bool `json:"DeleteOnVmDeletion,omitempty"` | ||
+ DeleteOnVmDeletion bool `json:"DeleteOnVmDeletion"` | ||
// The number of I/O operations per second (IOPS). This parameter must be specified only if you create an `io1` volume. The maximum number of IOPS allowed for `io1` volumes is `13000` with a maximum performance ratio of 300 IOPS per gibibyte. | ||
Iops int32 `json:"Iops,omitempty"` | ||
// The ID of the snapshot used to create the volume. | ||
-- | ||
2.37.2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters