X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2FSFA.py;h=883f5700f5dacb2c83882b444077011f9668184e;hb=d37340748e49a765bcb2de8558804a8255fef8c9;hp=ce097f9b0b1cdfe22bbea1a811bf0b5f06f84d9d;hpb=ca5231ba6d8aa1891f91f71bec5c81e557a0946e;p=plcapi.git diff --git a/PLC/SFA.py b/PLC/SFA.py index ce097f9..883f570 100644 --- a/PLC/SFA.py +++ b/PLC/SFA.py @@ -154,6 +154,8 @@ class SFA: # add the record to sfa if not self.sfa_record_exists(object['hrn'], type): self.registry.register(self.credential, record) + else: + self.registry.update(self.credential, record) @wrap_exception @required_packages_imported