]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/common/errorator: restrict all_same_way to valid types 33344/head
authorSamuel Just <sjust@redhat.com>
Fri, 17 Jan 2020 21:04:30 +0000 (13:04 -0800)
committerSamuel Just <sjust@redhat.com>
Sat, 15 Feb 2020 01:28:38 +0000 (17:28 -0800)
commit66503ecccd41260d9d73cbae89cef1f73addd0d4
treec424ce83db6e0b238c43ce4efa6dc532a707adac
parent01399ebfd296fb3d08284078070c0d798ee56c7e
crimson/common/errorator: restrict all_same_way to valid types

As with pass_further/discard_all, we don't want the returned handler
to work on types outside of the errorator at all.  Otherwise, the
handler will transparently apply to any error.

Signed-off-by: Samuel Just <sjust@redhat.com>
src/crimson/common/errorator.h