Skip to content

Commit

Permalink
with filePath='/', the underlying url has a '//' at the end,
Browse files Browse the repository at this point in the history
which causes Agave Files returns a 301. I don't think that this
is correct (AH-95) but right now it's causing home dirs not to be
created. For now, work around by setting filePath=''.
  • Loading branch information
mrhanlon committed Jul 22, 2016
1 parent f06360b commit 7b74d30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion designsafe/apps/auth/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def check_or_create_agave_home_dir(username):
token=settings.AGAVE_SUPER_TOKEN)
body = {'action': 'mkdir', 'path': username}
ag.files.manage(systemId=settings.AGAVE_STORAGE_SYSTEM,
filePath='/', body=json.dumps(body))
filePath='', body=body)

# add dir to index
fm = FileManager(agave_client=ag)
Expand Down

0 comments on commit 7b74d30

Please sign in to comment.