cephfs admin: swap from internal package to common packge for interfaces

Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
John Mulligan 2021-04-19 16:56:58 -04:00 committed by mergify[bot]
parent fa8575ac26
commit bbd88f0b85
1 changed files with 2 additions and 1 deletions

View File

@ -5,13 +5,14 @@ package admin
import (
"strconv"
ccom "github.com/ceph/go-ceph/common/commands"
"github.com/ceph/go-ceph/internal/commands"
"github.com/ceph/go-ceph/rados"
)
// RadosCommander provides an interface to execute JSON-formatted commands that
// allow the cephfs administrative functions to interact with the Ceph cluster.
type RadosCommander = commands.RadosCommander
type RadosCommander = ccom.RadosCommander
// FSAdmin is used to administrate CephFS within a ceph cluster.
type FSAdmin struct {