]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
orchestra/cluster: be explicit that a positional argument is needed 1541/head
authorKefu Chai <kchai@redhat.com>
Fri, 31 Jul 2020 05:05:15 +0000 (13:05 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 31 Jul 2020 05:05:20 +0000 (13:05 +0800)
commitf87ac52eaf793b25cc993c90c8e1deaa0b021cd8
tree1596daab9f17b1d97cd1c34533ac8a48417da822
parent30fabf7c48dea9105ee4c5a58e9f3bd6c3162660
orchestra/cluster: be explicit that a positional argument is needed

otherwise the caller may run into

sh() missing 1 required positional argument: 'script'

if the developer only check the function signature of Cluster.sh().

Signed-off-by: Kefu Chai <kchai@redhat.com>
teuthology/orchestra/cluster.py