'Update the status field to standardize format.'

@staticmethod
def _get_status(image):

    return {'active': 'ACTIVE', 'queued': 'SAVING', 'saving': 'SAVING', 'deleted': 'DELETED', 'pending_delete': 'DELETED', 'killed': 'ERROR'}.get(image.get('status'), 'UNKNOWN')
