summaryrefslogtreecommitdiffstats
path: root/dashboard/src/api
diff options
context:
space:
mode:
authorParker Berberian <pberberian@iol.unh.edu>2018-10-23 19:52:45 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-10-23 19:52:45 +0000
commit5aae3047f61e8d08c7350907f42213a37540b716 (patch)
tree0d888291064d281c78f8fdcf530b5b0fec941af8 /dashboard/src/api
parentd734ac204f21fb21f1448f4ae2a7c4ec1b735663 (diff)
parente93101c8a9fe35c9a0bc3bb4299fdc556e6fba9f (diff)
Merge "Fix clear_delta() function"
Diffstat (limited to 'dashboard/src/api')
-rw-r--r--dashboard/src/api/models.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/dashboard/src/api/models.py b/dashboard/src/api/models.py
index f1e9130..7448ac4 100644
--- a/dashboard/src/api/models.py
+++ b/dashboard/src/api/models.py
@@ -488,7 +488,8 @@ class NetworkConfig(TaskConfig):
return d
def clear_delta(self):
- pass
+ self.delta = json.dumps(self.to_dict())
+ self.save()
def add_interface(self, interface):
self.interfaces.add(interface)