Skip to content

Commit f7fec96

Browse files
build(replica_entity): handle breaking changes
Signed-off-by: Abhilash Shetty <abhilash.shetty@datacore.com>
1 parent ccd3b14 commit f7fec96

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

io-engine/src/bin/io-engine-client/v1/replica_cli.rs

+1
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@ async fn replica_create(
191191
let request = v1_rpc::replica::CreateReplicaRequest {
192192
name,
193193
uuid: uuid.clone(),
194+
entity_id: None,
194195
pooluuid,
195196
thin,
196197
share,

io-engine/src/grpc/v1/replica.rs

+8
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ impl From<Lvol> for Replica {
125125
Self {
126126
name: l.name(),
127127
uuid: l.uuid(),
128+
entity_id: None,
128129
pooluuid: l.pool_uuid(),
129130
size: usage.capacity_bytes,
130131
thin: l.is_thin(),
@@ -530,4 +531,11 @@ impl ReplicaRpc for ReplicaService {
530531
)
531532
.await
532533
}
534+
535+
async fn set_replica_entity_id(
536+
&self,
537+
_request: Request<SetReplicaEntityIdRequest>,
538+
) -> GrpcResult<Replica> {
539+
unimplemented!()
540+
}
533541
}

0 commit comments

Comments
 (0)