def get_pending_vgroup(module, array):
    """ Get Deleted Volume Group"""
    vgroup = None
    for vgrp in array.list_vgroups(pending=True):
        if vgrp['name'] == module.params['vgroup'] and vgrp['time_remaining']:
            vgroup = vgrp
            break
    return vgroup
