do not send 0 for snapshot size_bytes
Signed-off-by: Travis Glenn Hansen <travisghansen@yahoo.com>
This commit is contained in:
parent
acb96d1a76
commit
c265e434a5
|
|
@ -670,7 +670,7 @@ class ControllerClientCommonDriver extends CsiBaseDriver {
|
|||
* The purpose of this field is to give CO guidance on how much space
|
||||
* is needed to create a volume from this snapshot.
|
||||
*/
|
||||
size_bytes: 0,
|
||||
//size_bytes: 0,
|
||||
snapshot_id,
|
||||
source_volume_id: source_volume_id,
|
||||
//https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/timestamp.proto
|
||||
|
|
|
|||
|
|
@ -853,7 +853,7 @@ class ControllerSynologyDriver extends CsiBaseDriver {
|
|||
* The purpose of this field is to give CO guidance on how much space
|
||||
* is needed to create a volume from this snapshot.
|
||||
*/
|
||||
size_bytes: 0,
|
||||
//size_bytes: 0,
|
||||
snapshot_id: `/lun/${lun.lun_id}/${snapshot.uuid}`, // add shanpshot_uuid //fixme
|
||||
source_volume_id: source_volume_id,
|
||||
//https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/timestamp.proto
|
||||
|
|
@ -880,7 +880,7 @@ class ControllerSynologyDriver extends CsiBaseDriver {
|
|||
* The purpose of this field is to give CO guidance on how much space
|
||||
* is needed to create a volume from this snapshot.
|
||||
*/
|
||||
size_bytes: 0,
|
||||
//size_bytes: 0,
|
||||
snapshot_id: `/lun/${lun.lun_id}/${response.body.data.snapshot_uuid}`,
|
||||
source_volume_id: source_volume_id,
|
||||
//https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/timestamp.proto
|
||||
|
|
|
|||
|
|
@ -1874,7 +1874,7 @@ class ControllerZfsSshBaseDriver extends CsiBaseDriver {
|
|||
* In that vein, I think it's best to return 0 here given the
|
||||
* unknowns of 'cow' implications.
|
||||
*/
|
||||
size_bytes: 0,
|
||||
//size_bytes: 0,
|
||||
|
||||
// remove parent dataset details
|
||||
snapshot_id: row["name"].replace(
|
||||
|
|
@ -2173,7 +2173,7 @@ class ControllerZfsSshBaseDriver extends CsiBaseDriver {
|
|||
* In that vein, I think it's best to return 0 here given the
|
||||
* unknowns of 'cow' implications.
|
||||
*/
|
||||
size_bytes: 0,
|
||||
//size_bytes: 0,
|
||||
|
||||
// remove parent dataset details
|
||||
snapshot_id: properties.name.value.replace(
|
||||
|
|
|
|||
|
|
@ -3556,7 +3556,7 @@ class FreeNASApiDriver extends CsiBaseDriver {
|
|||
* In that vein, I think it's best to return 0 here given the
|
||||
* unknowns of 'cow' implications.
|
||||
*/
|
||||
size_bytes: 0,
|
||||
//size_bytes: 0,
|
||||
|
||||
// remove parent dataset details
|
||||
snapshot_id: row["name"].replace(
|
||||
|
|
@ -3946,7 +3946,7 @@ class FreeNASApiDriver extends CsiBaseDriver {
|
|||
* In that vein, I think it's best to return 0 here given the
|
||||
* unknowns of 'cow' implications.
|
||||
*/
|
||||
size_bytes: 0,
|
||||
//size_bytes: 0,
|
||||
|
||||
// remove parent dataset details
|
||||
snapshot_id: properties.name.value.replace(
|
||||
|
|
|
|||
Loading…
Reference in New Issue