]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cephadm: show error when no command is specified
authorMichael Fritch <mfritch@suse.com>
Wed, 8 Apr 2020 20:42:12 +0000 (14:42 -0600)
committerSebastian Wagner <sebastian.wagner@suse.com>
Tue, 14 Apr 2020 14:50:50 +0000 (16:50 +0200)
commit359590e23cfdec139626233174214d20e5ebd9bb
tree6caa3b5dd0cbac796180361bd1f8bf5d67597e75
parent8b65d8ec26b30e8e0539c61d482c2426928e062f
cephadm: show error when no command is specified

Traceback (most recent call last):
  File "./cephadm", line 4452, in <module>
    if args.func != command_check_host:
AttributeError: 'Namespace' object has no attribute 'func'

Signed-off-by: Michael Fritch <mfritch@suse.com>
(cherry picked from commit 2ebb9373b52342eb8c523866e5852d2b8bf44e58)
src/cephadm/cephadm