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:
Sébastien Han
2020-04-01 09:08:18 +02:00
parent 7788901a88
commit 040193bb5a
21 changed files with 44 additions and 66 deletions
+1 -1
View File
@@ -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"
}