Commit eea5284
rbd: check volumeID in PV if image not found
If the pool or few keys are missing in the omap.
GetImageAttributes function returns nil error message and few
empty items in imageAttributes struct. if the image is not
found and the entiries are missing use
the volumeId present on the PV annotation for further operations.
Signed-off-by: Madhu Rajanna <[email protected]>1 parent cfc88c9 commit eea5284
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
872 | 872 | | |
873 | 873 | | |
874 | 874 | | |
875 | | - | |
876 | 875 | | |
877 | 876 | | |
878 | 877 | | |
| |||
908 | 907 | | |
909 | 908 | | |
910 | 909 | | |
911 | | - | |
| 910 | + | |
912 | 911 | | |
913 | 912 | | |
914 | 913 | | |
| |||
0 commit comments