This relied on a behaviour where positional
arguments could be omitted if the subsequent
argument was of a different type.
This was pretty weird, and in any case the reweight-by-utilization
command is likely to go away soon.
Signed-off-by: John Spray <john.spray@redhat.com>
self.assert_valid_command(['osd', 'reweight-by-utilization'])
self.assert_valid_command(['osd', 'reweight-by-utilization', '100'])
self.assert_valid_command(['osd', 'reweight-by-utilization', '100', '.1'])
- self.assert_valid_command(['osd', 'reweight-by-utilization', '--no-increasing'])
assert_equal({}, validate_command(sigdict, ['osd',
'reweight-by-utilization',
'100',