Skip to content

Commit

Permalink
AS: fix function name
Browse files Browse the repository at this point in the history
Signed-off-by: Xynnn007 <[email protected]>
  • Loading branch information
Xynnn007 committed Nov 23, 2023
1 parent 0d00300 commit 1203fc7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion attestation-service/attestation-service/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ impl AttestationService {
}

/// Registry a new reference value
pub async fn registry_reference_value(&mut self, message: &str) -> Result<()> {
pub async fn register_reference_value(&mut self, message: &str) -> Result<()> {
self.rvps.verify_and_extract(message).await
}
}
2 changes: 1 addition & 1 deletion attestation-service/bin/grpc-as/src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ impl ReferenceValueProviderService for Arc<RwLock<AttestationServer>> {
self.write()
.await
.attestation_service
.registry_reference_value(message)
.register_reference_value(message)
.await
.map_err(|e| Status::aborted(format!("Register reference value: {e}")))?;

Expand Down

0 comments on commit 1203fc7

Please sign in to comment.