1d8eb25 Issue 50640 - Database links: get_monitor() takes 1 positional argument but 2 were given

Authored and Committed by mhonek 4 years ago
    Issue 50640 - Database links: get_monitor() takes 1 positional argument but 2 were given
    
    Bug Description:
    Cannot call dsconf ... chaining monitor due to invalid call to get_monitor.
    
    FTR: The other issue reported within, for the ... link-delete has already been
    fixed in commit c403a39.
    
    Fix Description:
    Use _get_link to get the named link, the same way some other functions in the
    file do.
    
    Also, merge and move _format_status to cli_base.
    
    Fixes https://pagure.io/389-ds-base/issue/50640
    
    Author: Matus Honek <mhonek@redhat.com>
    
    Review by: Mark (thanks!)
    
    (cherry picked from commit f31abde7da3a941147b3dfea032bbbc60305b87f)