forked from lavina/lavina
un-arc cluster metadata
This commit is contained in:
parent
a8a4b1c490
commit
2fa1ddb7e6
|
@ -65,7 +65,7 @@ pub struct Services {
|
||||||
pub(crate) broadcasting: Broadcasting,
|
pub(crate) broadcasting: Broadcasting,
|
||||||
pub(crate) client: LavinaClient,
|
pub(crate) client: LavinaClient,
|
||||||
pub(crate) storage: Storage,
|
pub(crate) storage: Storage,
|
||||||
pub(crate) cluster_metadata: Arc<ClusterMetadata>,
|
pub(crate) cluster_metadata: ClusterMetadata,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl LavinaCore {
|
impl LavinaCore {
|
||||||
|
@ -88,7 +88,7 @@ impl LavinaCore {
|
||||||
broadcasting,
|
broadcasting,
|
||||||
client,
|
client,
|
||||||
storage,
|
storage,
|
||||||
cluster_metadata: Arc::new(cluster_config.metadata),
|
cluster_metadata: cluster_config.metadata,
|
||||||
};
|
};
|
||||||
|
|
||||||
Ok(LavinaCore {
|
Ok(LavinaCore {
|
||||||
|
|
Loading…
Reference in New Issue