mirror of https://github.com/ceph/go-ceph
cephfs: temporarily disable revive caring about CephFSError stuttering
Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
parent
96396d4fca
commit
2e5a2c3b9e
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue