« Previous | Next » 

Revision 6488097c

ID6488097c222b4d07c4158270be5b17a2c3a85e00

Added by Christos Stavrakakis over 10 years ago

cyclades: Do not pass 'hotplug' if disabled

Fix passing of hotplug argument to GanetiRAPIClient, in case the
GANETI_USE_HOTPLUG is unset. If the Ganeti version does not support
hotplug, passing hotplug=False, will make the jobs fail at Ganeti opcode
validation. This commit fixes this by passing the argument, only when
the setting is set to True.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences