]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
Revert "src/ceph-crash.in: remove unused frame in handler()"
authorGuillaume Abrioux <gabrioux@redhat.com>
Thu, 24 Feb 2022 16:39:10 +0000 (17:39 +0100)
committerTim Serong <tserong@suse.com>
Wed, 9 Nov 2022 03:00:21 +0000 (14:00 +1100)
commitbd3e37918a2093998c53f6d720aecea1395c1bff
tree0a10b657babd7c9dbe69833033213e6ea29a11bc
parente4e7fa67984be74d829c64756015e327c8a8c3f1
Revert "src/ceph-crash.in: remove unused frame in handler()"

This reverts commit 432c766a99f70884049bf7a1f268287a5a809777.

unused but required:

```
Traceback (most recent call last):
File "/usr/bin/ceph-crash", line 102, in <module>
main()
File "/usr/bin/ceph-crash", line 98, in main
time.sleep(args.delay * 60)
TypeError: handler() takes exactly 1 argument (2 given)
```

Fixes: https://tracker.ceph.com/issues/54422
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 02e8e7d6e6d31b4735115f7820e015fc54997d9f)
src/ceph-crash.in