diff options
author | Parker Berberian <pberberian@iol.unh.edu> | 2018-10-23 19:52:45 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-10-23 19:52:45 +0000 |
commit | 77504dab9df7a68634943c9ea18dfe1fc46e107a (patch) | |
tree | 1db5686e45593bc27c899dba6f2ee1fa92edae1e /src/api | |
parent | 908feced2caa4eb6250a9a5e13db75fdd9988c74 (diff) | |
parent | 84b16668fcb0be4fe3d39f793e912676c4431cbd (diff) |
Merge "Fix clear_delta() function"
Diffstat (limited to 'src/api')
-rw-r--r-- | src/api/models.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/api/models.py b/src/api/models.py index f1e9130..7448ac4 100644 --- a/src/api/models.py +++ b/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) |