« Previous | Next » 

Revision d48663e4

IDd48663e4c3c79b7cd738bab4a3abe5c6e7468f83
Parent 48ce9fd9
Child 33081d90

Added by Iustin Pop over 13 years ago

Fix a bug related to static minors

When the node does not yet have any minors allocated, the first minor
(0) will not be entered in the ConfigWriter._temporary_drbds structure.
This does not happen for our current usage, since we always ask for two
minors (so the next call will not match this case), but it will be
triggered if we only ask for one minor, and then ask again before adding
the instance to the config file.

Reviewed-by: ultrotter

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences