Skip to content

Commit

Permalink
fix(host): generate ceph conf dup monHosts (#21691)
Browse files Browse the repository at this point in the history
  • Loading branch information
wanyaoqi authored Nov 26, 2024
1 parent c623f86 commit 4f61339
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/util/cephutils/ceph.go
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,6 @@ func NewClient(monHost, key, pool string, enableMessengerV2 bool) (*CephClient,
monHosts = append(monHosts, fmt.Sprintf(`[v2:%s:3300/0,v1:%s:6789/0]`, monHost, monHost))
}
} else {
monHosts := []string{}
for _, monHost := range strings.Split(client.monHost, ",") {
monHosts = append(monHosts, fmt.Sprintf(`[%s]`, monHost))
}
Expand Down

0 comments on commit 4f61339

Please sign in to comment.