Skip to content

Commit

Permalink
Merge pull request #320 from oalbrigt/fence_mpath-fix-reserve-paramet…
Browse files Browse the repository at this point in the history
…er-typo

fence_mpath: fix --reserve parameter typo
  • Loading branch information
oalbrigt authored Feb 14, 2020
2 parents 6abc759 + 0d3ff34 commit e1e9013
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agents/mpath/fence_mpath.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def register_dev(options, dev):
return not bool(run_cmd(options, cmd)["err"])

def reserve_dev(options, dev):
cmd = options["--mpathpersist-path"] + " -o --reserv --prout-type=5 --param-rk=" + options["--plug"] + " -d " + dev
cmd = options["--mpathpersist-path"] + " -o --reserve --prout-type=5 --param-rk=" + options["--plug"] + " -d " + dev
return not bool(run_cmd(options, cmd)["err"])

def get_reservation_key(options, dev):
Expand Down

0 comments on commit e1e9013

Please sign in to comment.