forked from rook/rook
ceph: remove DaemonType type
This type was a string already and was just making us doing string() calls all the time to it's not worth it. Signed-off-by: Sébastien Han <seb@redhat.com>
This commit is contained in:
@@ -506,7 +506,7 @@ func (c *daemonConfig) buildSocketPath() string {
|
||||
|
||||
func (c *daemonConfig) buildAdminSocketCommand() string {
|
||||
command := "status"
|
||||
if c.daemonType == string(config.MonType) {
|
||||
if c.daemonType == config.MonType {
|
||||
command = "mon_status"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user