mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 02:33:34 +00:00
util: register replication controller
as RBD is implementing the replication we are registering it. For CephFS, its not implementing the replication we are passing nil so we dont want to register it. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
committed by
mergify[bot]
parent
ee0576278f
commit
c642637cec
@ -172,6 +172,8 @@ func (r *Driver) Run(conf *util.Config) {
|
||||
IS: r.ids,
|
||||
CS: r.cs,
|
||||
NS: r.ns,
|
||||
// Register the replication controller to expose replication operations.
|
||||
RS: r.cs,
|
||||
}
|
||||
s.Start(conf.Endpoint, conf.HistogramOption, srv, conf.EnableGRPCMetrics)
|
||||
if conf.EnableGRPCMetrics {
|
||||
|
Reference in New Issue
Block a user