Revision f06af3ca
ID | f06af3cabaed9032f74cb979f065d89c0a1c6f66 |
Check disk template in right dict when copying
Due to the structure of the code this condition can't possibly be true.
We have to look in the new_diskparams dict instead, otherwise it'd be
possible to try to update a non-existing entry.
(The same patch is in stable-2.7 as 106441d already).
Signed-off-by: Thomas Thrainer <thomasth@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Files
- added
- modified
- copied
- renamed
- deleted