2020-10-14 06:22:20 +00:00
|
|
|
// +build !luminous,!mimic
|
|
|
|
|
|
|
|
package admin
|
|
|
|
|
|
|
|
import (
|
2021-06-16 05:09:08 +00:00
|
|
|
"github.com/ceph/go-ceph/internal/commands"
|
2020-10-14 06:22:20 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
var (
|
2021-06-16 05:09:08 +00:00
|
|
|
// ErrStatusNotEmpty is an alias for commands.ErrStatusNotEmpty
|
|
|
|
ErrStatusNotEmpty = commands.ErrStatusNotEmpty
|
|
|
|
// ErrBodyNotEmpty is an alias for commands.ErrBodyNotEmpty
|
|
|
|
ErrBodyNotEmpty = commands.ErrBodyNotEmpty
|
2020-10-14 06:22:20 +00:00
|
|
|
)
|
|
|
|
|
2021-06-16 05:09:08 +00:00
|
|
|
type response = commands.Response
|
2020-10-14 06:22:20 +00:00
|
|
|
|
2021-06-16 05:09:08 +00:00
|
|
|
// NotImplementedError is an alias for commands.NotImplementedError.
|
|
|
|
type NotImplementedError = commands.NotImplementedError
|
2020-10-14 06:22:20 +00:00
|
|
|
|
|
|
|
// newResponse returns a response.
|
|
|
|
func newResponse(b []byte, s string, e error) response {
|
2021-06-16 05:09:08 +00:00
|
|
|
return commands.NewResponse(b, s, e)
|
2020-10-14 06:22:20 +00:00
|
|
|
}
|