Whamcloud - gitweb
LU-11283 lnet: fix setting health value manually 74/33074/3
authorAmir Shehata <ashehata@whamcloud.com>
Fri, 24 Aug 2018 19:08:31 +0000 (12:08 -0700)
committerOleg Drokin <green@whamcloud.com>
Mon, 10 Sep 2018 16:53:59 +0000 (16:53 +0000)
commitb04c35874dca17a191ddbac9b52b005066a10dda
tree359abd424610c101d7b19716f72ccce33398e7d3
parenta5905b2a2c478f638420db9a002f2055fce3d5e2
LU-11283 lnet: fix setting health value manually

Changed the health value option letter to 't' instead
of 'h' to avoid conflict with help option.
Don't increment optind unnecessarily.
In the handling code in api-ni.c there was a missing return.

Test-Parameters: trivial
Signed-off-by: Amir Shehata <ashehata@whamcloud.com>
Change-Id: Ib56f19d1781e44297158c64c5b26004220a1db21
Reviewed-on: https://review.whamcloud.com/33074
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Sonia Sharma <sharmaso@whamcloud.com>
Reviewed-by: Doug Oucharek <dougso@me.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/lnet/api-ni.c
lnet/utils/lnetconfig/liblnetconfig.c
lnet/utils/lnetctl.c