[manage.py] getUid(): Fix UID when container is run as host user

This commit is contained in:
Viyurz 2024-10-01 13:51:46 +02:00
parent b0e440d652
commit 38f7de34d5
Signed by: Viyurz
SSH key fingerprint: SHA256:IskOHTmhHSJIvAt04N6aaxd5SZCVWW1Guf9tEcxIMj8

View file

@ -19,10 +19,10 @@ def getImageId (image):
def getUid(service):
if service in env['users'].keys():
user = env['users'][service]
user = env['users'][service] + env['uid_shift']
else:
user = 0
return user + env['uid_shift']
return user
def pullProj(project):