Project

General

Profile

0004-hobo_notify-deprovision-by-setting-the-deleted-flag-.patch

Benjamin Dauvergne, 04 Oct 2018 11:42 PM

Download (946 Bytes)

View differences:

Subject: [PATCH 4/4] hobo_notify: deprovision by setting the deleted flag
 (#24430)

 wcs/ctl/hobo_notify.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
wcs/ctl/hobo_notify.py
207 207
                    uuid = o['uuid']
208 208
                    users = User.get_users_with_name_identifier(uuid)
209 209
                    for user in users:
210
                        user.remove_self()
210
                        user.deleted = True
211
                        user.store()
211 212
            except Exception, e:
212 213
                publisher.notify_of_exception(sys.exc_info(), context='[PROVISIONNING]')
213 214

  
214
-