summaryrefslogtreecommitdiffstats
path: root/tools/pharos-dashboard/dashboard/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/pharos-dashboard/dashboard/models.py')
-rw-r--r--tools/pharos-dashboard/dashboard/models.py14
1 files changed, 1 insertions, 13 deletions
diff --git a/tools/pharos-dashboard/dashboard/models.py b/tools/pharos-dashboard/dashboard/models.py
index cb6b92b3..02073e6f 100644
--- a/tools/pharos-dashboard/dashboard/models.py
+++ b/tools/pharos-dashboard/dashboard/models.py
@@ -17,16 +17,4 @@ class Resource(models.Model):
db_table = 'resource'
def __str__(self):
- return self.name
-
-
-class ResourceUtilization(models.Model):
- POD_STATUS = {
- 'online': 1,
- 'idle': 2,
- 'offline': 3
- }
-
- id = models.AutoField(primary_key=True)
- timestamp = models.DateTimeField(auto_created=True)
- pod_status = models.IntegerField()
+ return self.name \ No newline at end of file