diff options
Diffstat (limited to 'dashboard')
-rw-r--r-- | dashboard/src/api/models.py | 3 |
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) |