From f8c726dcdac2d224ce46a66b95efdf81a5b76f48 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Sun, 26 Jan 2020 22:22:38 +0100 Subject: Fix missing procedure for delete membership & "better" failure handling After an object has been updated, membership information must be propagated to other object. Such operations may fail when calling consul but if they do we don't return fail immediatly returning an error code any more. Instead we just print all the errors to our logs and try to process the remaining updates. --- main.go | 1 + 1 file changed, 1 insertion(+) (limited to 'main.go') diff --git a/main.go b/main.go index 0156a6d..8041eab 100644 --- a/main.go +++ b/main.go @@ -25,6 +25,7 @@ import ( const DEBUG = false const ATTR_USERPASSWORD = "userpassword" +const ATTR_MEMBER = "member" const ATTR_MEMBEROF = "memberof" const ATTR_ENTRYUUID = "entryuuid" const ATTR_CREATORSNAME = "creatorsname" -- cgit v1.2.3