mirror of https://github.com/ceph/go-ceph
rbd: remove options_mimic.go moving content to options.go
go-ceph stopped supporting mimic in v0.7.0. Keeping the constants that were added in mimic in a standalone file is no longer needed. Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
parent
b201e01628
commit
29a94e03b5
|
@ -46,6 +46,12 @@ const (
|
|||
// ImageOptionDataPool is the representation of RBD_IMAGE_OPTION_DATA_POOL
|
||||
// from librbd
|
||||
ImageOptionDataPool = C.RBD_IMAGE_OPTION_DATA_POOL
|
||||
// ImageOptionFlatten is the representation of RBD_IMAGE_OPTION_FLATTEN
|
||||
// from librbd
|
||||
ImageOptionFlatten = C.RBD_IMAGE_OPTION_FLATTEN
|
||||
// ImageOptionCloneFormat is the representation of
|
||||
// RBD_IMAGE_OPTION_CLONE_FORMAT from librbd
|
||||
ImageOptionCloneFormat = C.RBD_IMAGE_OPTION_CLONE_FORMAT
|
||||
|
||||
// RbdImageOptionFormat deprecated alias for ImageOptionFormat
|
||||
RbdImageOptionFormat = ImageOptionFormat
|
||||
|
|
|
@ -1,16 +0,0 @@
|
|||
// +build !luminous
|
||||
|
||||
package rbd
|
||||
|
||||
// #include <rbd/librbd.h>
|
||||
import "C"
|
||||
|
||||
const (
|
||||
// ImageOptionFlatten is the representation of RBD_IMAGE_OPTION_FLATTEN
|
||||
// from librbd
|
||||
ImageOptionFlatten = C.RBD_IMAGE_OPTION_FLATTEN
|
||||
|
||||
// ImageOptionCloneFormat is the representation of
|
||||
// RBD_IMAGE_OPTION_CLONE_FORMAT from librbd
|
||||
ImageOptionCloneFormat = C.RBD_IMAGE_OPTION_CLONE_FORMAT
|
||||
)
|
Loading…
Reference in New Issue