Commit 5d06bbd4 authored by Samuel GAIST's avatar Samuel GAIST Committed by André Anjos

[databases] Use current user ID if none is given when indexing

This will generate files for the current user like all other
files generated when using beat/beat.cmdline>

Fixes #78
parent ba93404c
Pipeline #45337 passed with stage
in 3 minutes and 51 seconds
......@@ -177,7 +177,9 @@ def start_db_container(
db_configuration = {"inputs": {}, "channel": set_name}
if uid is not None:
if uid is None:
uid = os.getuid()
db_configuration["datasets_uid"] = uid
if db_root is not None:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment