cephfs: temporarily disable revive caring about CephFSError stuttering

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

View File

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