[manage.py] getUid(): Fix UID when container is run as host user
This commit is contained in:
parent
b0e440d652
commit
38f7de34d5
1 changed files with 2 additions and 2 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue