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) client: LavinaClient,
|
||||
pub(crate) storage: Storage,
|
||||
pub(crate) cluster_metadata: Arc<ClusterMetadata>,
|
||||
pub(crate) cluster_metadata: ClusterMetadata,
|
||||
}
|
||||
|
||||
impl LavinaCore {
|
||||
|
@ -88,7 +88,7 @@ impl LavinaCore {
|
|||
broadcasting,
|
||||
client,
|
||||
storage,
|
||||
cluster_metadata: Arc::new(cluster_config.metadata),
|
||||
cluster_metadata: cluster_config.metadata,
|
||||
};
|
||||
|
||||
Ok(LavinaCore {
|
||||
|
|
Loading…
Reference in New Issue