Commit 3a16ca95 authored by Rémi Duraffort's avatar Rémi Duraffort Committed by stevanradakovic
Browse files

Remove admin_notifications field



This field is never used.
Signed-off-by: default avatarRémi Duraffort <remi.duraffort@linaro.org>
parent 1a20620b
......@@ -142,7 +142,6 @@ class TestJobSerializer(serializers.ModelSerializer):
"definition",
"original_definition",
"multinode_definition",
"admin_notifications",
"failure_tags",
"failure_comment",
)
......@@ -196,7 +195,6 @@ class TestJobViewSet(viewsets.ReadOnlyModelViewSet):
"definition",
"original_definition",
"multinode_definition",
"admin_notifications",
"failure_tags",
"failure_comment",
)
......
......@@ -716,7 +716,6 @@ def _export_query(query_results, content_type, filename):
"user_id",
"actual_device_id",
"definition",
"admin_notifications",
"group_id",
"multinode_definition",
"original_definition",
......
......@@ -816,10 +816,10 @@ class SchedulerAPI(ExposedAPI):
_state, submitter_id, is_pipeline, id, failure_comment,
multinode_definition, user_id, priority, _actual_device_cache,
original_definition, status, health_check, description,
admin_notifications, start_time, target_group, visibility,
pipeline_compatibility, submit_time, is_public, _old_status,
actual_device_id, definition, sub_id, requested_device_type_id,
end_time, group_id, absolute_url, submitter_username
start_time, target_group, visibility, pipeline_compatibility,
submit_time, is_public, _old_status, actual_device_id, definition,
sub_id, requested_device_type_id, end_time, group_id, absolute_url,
submitter_username
"""
self._authenticate()
if not job_id:
......
# -*- coding: utf-8 -*-
# Generated by Django 1.11.20 on 2019-03-06 14:09
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
("lava_scheduler_app", "0038_set_default_device_health_maintenance")
]
operations = [
migrations.RemoveField(model_name="testjob", name="admin_notifications")
]
......@@ -1630,10 +1630,6 @@ class TestJob(RestrictedResource):
# calculated by the master validation process.
pipeline_compatibility = models.IntegerField(default=0, editable=False)
# only one value can be set as there is only one opportunity
# to transition a device from Running to Offlining.
admin_notifications = models.TextField(editable=False, blank=True)
@property
def size_limit(self):
return settings.LOG_SIZE_LIMIT * 1024 * 1024
......
......@@ -302,7 +302,6 @@ class JobTable(LavaTable):
"definition",
"original_definition",
"multinode_definition",
"admin_notifications",
"requested_device_type",
"start_time",
"log_file",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment