Skip to content
  • Christos Stavrakakis's avatar
    cyclades: Do not pass 'hotplug' if disabled · 0feb4ee0
    Christos Stavrakakis authored
    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.
    0feb4ee0