From 4f2fc3444593f601e625fa430030406c30928573 Mon Sep 17 00:00:00 2001 From: John Mulligan Date: Tue, 25 Feb 2020 14:33:10 -0500 Subject: [PATCH] rbd: add revive comments for disabling check on backwards-compat vars Signed-off-by: John Mulligan --- rbd/rbd.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rbd/rbd.go b/rbd/rbd.go index f714591..207a64c 100644 --- a/rbd/rbd.go +++ b/rbd/rbd.go @@ -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 ) //