-
Michael Hanselmann authored
There has been a lot of duplicated code in _GenerateDiskTemplate, and some cases of very similar, but not quite same duplicates. This patch merges them. Generating a disk's “logical_id” attribute is done via a lambda/function. Maybe the ID's could be pre-computed and stored in a list. Signed-off-by: Michael Hanselmann <hansmi@google.com> Reviewed-by: René Nussbaumer <rn@google.com>
002f91c5