]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
provision/downburst: ignore "username@" prefix in hostname
authorKyr Shatskyy <kyrylo.shatskyy@clyso.com>
Fri, 2 Aug 2024 17:32:33 +0000 (19:32 +0200)
committerKyr Shatskyy <kyrylo.shatskyy@clyso.com>
Wed, 7 Aug 2024 20:32:54 +0000 (22:32 +0200)
commitd42c5412da26f2058d3d70b6454cae60861c3b75
tree79695c826a63fbe01230297adf13b21d36b7d4ef
parent764449d72bed148ba7041e9c006efe13d104cb49
provision/downburst: ignore "username@" prefix in hostname

If downburst gets hostname as an argument which does not have
a username@ prefix (does not include @-symbol) there is an
index out of range error will occur, which we, obviously,
don't want and wish to allow hostnames don't use login names.

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@clyso.com>
teuthology/provision/downburst.py