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:
1 parent
7788901a88
commit
040193bb5a
21 files changed
+44
-66
No files matched your search
@@ -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