rbd: add revive comments for disabling check on backwards-compat vars

Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
John Mulligan 2020-02-25 14:33:10 -05:00 committed by Niels de Vos
parent 149827c4e2
commit 4f2fc34445

View File

@ -64,9 +64,10 @@ var (
// missing.
ErrNotFound = errors.New("RBD image not found")
// retained for compatibility with old versions
// revive:disable:exported for compatibility with old versions
RbdErrorImageNotOpen = ErrImageNotOpen
RbdErrorNotFound = ErrNotFound
// revive:enable:exported
)
//