fix: trim internal monitor source fields
Some checks failed
CD Pipeline / deploy (push) Has been cancelled
Some checks failed
CD Pipeline / deploy (push) Has been cancelled
This commit is contained in:
@@ -60,7 +60,8 @@ def _sanitize_source_info(crawler_key, info):
|
||||
for field in ('pause_reason', 'notes', 'activity_name'):
|
||||
if field in sanitized:
|
||||
sanitized[field] = _operator_text(sanitized.get(field))
|
||||
sanitized.pop('function', None)
|
||||
for internal_field in ('function', 'page_type', 'status', 'paused_date'):
|
||||
sanitized.pop(internal_field, None)
|
||||
return sanitized
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user