• Iustin Pop's avatar
    Reuse common code between MarkInstance{Up,Down} · 6a408fb2
    Iustin Pop authored
    This patch creates a new method ConfigWriter._SetInstanceStatus that
    consists of the common code between MarkInstanceUp and MarkInstanceDown.
    These two methods become wrappers over the _SetInstanceStatus.
    
    Reviewed-by: ultrotter
    6a408fb2
config.py 21.1 KB