rpc: Fix - Use correct deprecated alias name for bdev_nvme_set_hotplug

Change-Id: Ia9869abc73da2d074500f449a943ddb12afc5d76
Signed-off-by: Pawel Kaminski <pawelx.kaminski@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/473587
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
Pawel Kaminski 2019-11-07 17:30:33 -05:00 committed by Jim Harris
parent 750f2b4b3d
commit e0c4db2acb

View File

@ -401,7 +401,7 @@ def bdev_nvme_set_options(client, action_on_timeout=None, timeout_us=None, retry
return client.call('bdev_nvme_set_options', params) return client.call('bdev_nvme_set_options', params)
@deprecated_alias('bdev_nvme_set_hotplug') @deprecated_alias('set_bdev_nvme_hotplug')
def bdev_nvme_set_hotplug(client, enable, period_us=None): def bdev_nvme_set_hotplug(client, enable, period_us=None):
"""Set options for the bdev nvme. This is startup command. """Set options for the bdev nvme. This is startup command.