Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix broken solidfire create-snapshot
A previous change to enable secifying size for cloned volumes created introduced a bug that breaks the ability to create-snapshots when using the SolidFire driver (CID: I5628c7fa922780d6b0601e2daa79310a61085edc). The problem is that we use a shared method in the SF driver for both create-clone and create-snapshot, the added change only considers the clone case and does a get ref['size'] but in the case of snapshots this needs to be ref['volume_size']. Closes-Bug: 1234970 Change-Id: I50603b3ac43f2c3c7e7811ec34de078a268519f7
- Loading branch information
1 parent
19e92af
commit 27e5674
Showing
2 changed files
with
59 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
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