mirror of
https://github.com/ceph/go-ceph
synced 2024-12-22 06:10:09 +00:00
e79f1d786f
Luminous and mimic have not been supported for a few releases now. There's no need to keep these build tags any more. Signed-off-by: John Mulligan <jmulligan@redhat.com>
23 lines
592 B
Go
23 lines
592 B
Go
package admin
|
|
|
|
import (
|
|
"github.com/ceph/go-ceph/internal/commands"
|
|
)
|
|
|
|
var (
|
|
// ErrStatusNotEmpty is an alias for commands.ErrStatusNotEmpty
|
|
ErrStatusNotEmpty = commands.ErrStatusNotEmpty
|
|
// ErrBodyNotEmpty is an alias for commands.ErrBodyNotEmpty
|
|
ErrBodyNotEmpty = commands.ErrBodyNotEmpty
|
|
)
|
|
|
|
type response = commands.Response
|
|
|
|
// NotImplementedError is an alias for commands.NotImplementedError.
|
|
type NotImplementedError = commands.NotImplementedError
|
|
|
|
// newResponse returns a response.
|
|
func newResponse(b []byte, s string, e error) response {
|
|
return commands.NewResponse(b, s, e)
|
|
}
|