script/rpc: inflate_lvol_bdev is called even if decouple_parent_lvol_bdev is called

This is found during document creation.

Change-Id: I29f99a8ead78b7edc120564ef63d3f0ad8960658
Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-on: https://review.gerrithub.io/418138
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
This commit is contained in:
Shuhei Matsumoto 2018-07-06 14:14:21 +09:00 committed by Jim Harris
parent 1196deb504
commit 3ae39bd495

View File

@ -903,7 +903,7 @@ if __name__ == "__main__":
p = subparsers.add_parser('decouple_parent_lvol_bdev', help='Decouple parent of lvol')
p.add_argument('name', help='lvol bdev name')
p.set_defaults(func=inflate_lvol_bdev)
p.set_defaults(func=decouple_parent_lvol_bdev)
@call_cmd
def resize_lvol_bdev(args):