commit | 16f617626749c0e8850d2ea4d2f064ea091a327d | [log] [tgz] |
---|---|---|
author | Matteo Scandolo <teo@opennetworking.org> | Tue Feb 13 12:00:51 2018 -0800 |
committer | Matteo Scandolo <teo@opennetworking.org> | Tue Feb 13 12:00:51 2018 -0800 |
tree | 58d414fdeca6f44f443bb9ea3148a8884d72ad6b | |
parent | 830403a8d2fa7c1e86ed74bf56ff7fdbb6f56f7d [diff] |
[CORD-2550] Fixing bugs Change-Id: Iff32b99fa30176ef06342fa02c1645ec503fab37
diff --git a/xos/synchronizer/steps/sync_progranserviceinstance_back.py b/xos/synchronizer/steps/sync_progranserviceinstance_back.py index 9195f2b..bc94976 100644 --- a/xos/synchronizer/steps/sync_progranserviceinstance_back.py +++ b/xos/synchronizer/steps/sync_progranserviceinstance_back.py
@@ -92,7 +92,6 @@ except IndexError: si = ProgranServiceInstance() - si.no_sync = True si.created_by = "Progran" log.debug("Profile %s is new, creating it" % p['Name']) @@ -122,6 +121,9 @@ si.backend_status = "OK" si.backend_code = 1 + si.no_sync = True + si.previously_sync = True + si.save() updated_profiles.append(si.name)