[ARVADOS] created: 1.3.0-3297-g885a103aa
Git user
git at public.arvados.org
Mon Oct 12 14:24:03 UTC 2020
at 885a103aafafc37a5ebc5052feca6453cd0f096a (commit)
commit 885a103aafafc37a5ebc5052feca6453cd0f096a
Author: Lucas Di Pentima <lucas at di-pentima.com.ar>
Date: Mon Oct 12 11:23:18 2020 -0300
16981: Fixes error reporting when failing to create a remote group.
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas at di-pentima.com.ar>
diff --git a/tools/sync-groups/sync-groups.go b/tools/sync-groups/sync-groups.go
index 5fdd82bfa..24e838c8f 100644
--- a/tools/sync-groups/sync-groups.go
+++ b/tools/sync-groups/sync-groups.go
@@ -438,7 +438,7 @@ func ProcessFile(
"group_class": "role",
}
if e := CreateGroup(cfg, &newGroup, groupData); e != nil {
- err = fmt.Errorf("error creating group named %q: %s", groupName, err)
+ err = fmt.Errorf("error creating group named %q: %s", groupName, e)
return
}
// Update cached group data
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list