[ARVADOS] created: 1.3.0-1960-ge9ddbd2e5
Git user
git at public.arvados.org
Tue Dec 10 14:39:01 UTC 2019
at e9ddbd2e5886540581b1bc0592ec0aa510a40f7c (commit)
commit e9ddbd2e5886540581b1bc0592ec0aa510a40f7c
Author: Lucas Di Pentima <lucas at di-pentima.com.ar>
Date: Tue Dec 10 11:37:19 2019 -0300
15069: Fixes vocabulary migration example script.
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas at di-pentima.com.ar>
diff --git a/tools/vocabulary-migrate/vocabulary-migrate.py b/tools/vocabulary-migrate/vocabulary-migrate.py
index 920344b32..e252c1ed8 100644
--- a/tools/vocabulary-migrate/vocabulary-migrate.py
+++ b/tools/vocabulary-migrate/vocabulary-migrate.py
@@ -102,7 +102,7 @@ def main(arguments=None):
migrated_props = migrate_properties(props, key_label_to_id_map, vocab)
if not args.dry_run:
logger.debug('Migrating {}: {} -> {}'.format(o['uuid'], props, migrated_props))
- arv.collections().update(uuid=o['uuid'], body={
+ resource.update(uuid=o['uuid'], body={
'properties': migrated_props
}).execute()
else:
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list