rados: temporarily disable revive caring about RadosError stuttering

Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
John Mulligan 2020-02-25 14:56:53 -05:00 committed by John Mulligan
parent 2e5a2c3b9e
commit 953a22bd12
1 changed files with 4 additions and 0 deletions

View File

@ -14,9 +14,13 @@ import (
"github.com/ceph/go-ceph/internal/errutil" "github.com/ceph/go-ceph/internal/errutil"
) )
// revive:disable:exported Temporarily live with stuttering
// RadosError represents an error condition returned from the Ceph RADOS APIs. // RadosError represents an error condition returned from the Ceph RADOS APIs.
type RadosError int type RadosError int
// revive:enable:exported
// Error returns the error string for the RadosError type. // Error returns the error string for the RadosError type.
func (e RadosError) Error() string { func (e RadosError) Error() string {
errno, s := errutil.FormatErrno(int(e)) errno, s := errutil.FormatErrno(int(e))