'Validate the content of a pending sync operation
This is a hack. The REST API is not consistent with its \'status\' values
so this method is here to check the returned strings from the operation
and see if it reported any of these inconsistencies.
:param details:
:raises F5ModuleError:'

def _validate_pending_status(self, details):

    pattern1 = '.*(?P<msg>Recommended\\s+action.*)'
    for detail in details:
        matches = re.search(pattern1, detail)
        if matches:
            raise F5ModuleError(matches.group('msg'))
