mirror of
https://github.com/ceph/go-ceph
synced 2025-03-03 09:59:32 +00:00
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"
|
"github.com/ceph/go-ceph/rados"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// revive:disable:exported Temporarily live with stuttering
|
||||||
|
|
||||||
// CephFSError represents an error condition returned from the CephFS APIs.
|
// CephFSError represents an error condition returned from the CephFS APIs.
|
||||||
type CephFSError int
|
type CephFSError int
|
||||||
|
|
||||||
|
// revive:enable:exported
|
||||||
|
|
||||||
// Error returns the error string for the CephFSError type.
|
// Error returns the error string for the CephFSError type.
|
||||||
func (e CephFSError) Error() string {
|
func (e CephFSError) Error() string {
|
||||||
errno, s := errutil.FormatErrno(int(e))
|
errno, s := errutil.FormatErrno(int(e))
|
||||||
|
Loading…
Reference in New Issue
Block a user