• Guido Trotter's avatar
    Pass context to LUs · 77b657a3
    Guido Trotter authored
    Rather than passing a ConfigWriter to the LUs we'll pass the whole
    context, from which a ConfigWriter can be extracted, but we can also
    access the GanetiLockManager. This also fixes the places where a FakeLU
    is created.
    Reviewed-by: iustinp
ganeti.hooks_unittest.py 8.98 KB