[bradm] Fixed order of arguments to fix_path_ownership
This commit is contained in:
parent
581d7626d3
commit
4978794555
|
@ -85,7 +85,7 @@ def config_changed():
|
|||
|
||||
if config('instances-path') != '':
|
||||
fp = config('instances-path')
|
||||
fix_path_ownership(user='nova', fp)
|
||||
fix_path_ownership(fp, user='nova')
|
||||
|
||||
[compute_joined(rid) for rid in relation_ids('cloud-compute')]
|
||||
|
||||
|
|
|
@ -397,6 +397,6 @@ def disable_shell(user):
|
|||
check_call(cmd)
|
||||
|
||||
|
||||
def fix_path_ownership(user='nova', path):
|
||||
def fix_path_ownership(path, user='nova'):
|
||||
cmd = ['chown', user, path]
|
||||
check_call(cmd)
|
||||
|
|
Loading…
Reference in New Issue