File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -690,7 +690,7 @@ fn print_events(events: Vec<Event>) {
690690 }
691691}
692692
693- #[ cfg( feature = "dcap " ) ]
693+ #[ cfg( feature = "attesteer " ) ]
694694fn fetch_marblerun_events_every_hour < E > (
695695 api : ParentchainApi ,
696696 enclave : Arc < E > ,
@@ -721,7 +721,7 @@ fn fetch_marblerun_events_every_hour<E>(
721721
722722 handle. join ( ) . unwrap ( )
723723}
724- #[ cfg( feature = "dcap " ) ]
724+ #[ cfg( feature = "attesteer " ) ]
725725fn register_quotes_from_marblerun (
726726 api : & ParentchainApi ,
727727 enclave : Arc < dyn RemoteAttestation > ,
Original file line number Diff line number Diff line change @@ -194,7 +194,7 @@ impl RestPath<&str> for PrometheusMarblerunEvents {
194194 }
195195}
196196
197- #[ cfg( feature = "dcap " ) ]
197+ #[ cfg( feature = "attesteer " ) ]
198198pub fn fetch_marblerun_events ( base_url : & str ) -> Result < Vec < PrometheusMarblerunEvent > , Error > {
199199 let base_url = URL :: parse ( & base_url) . map_err ( |e| {
200200 Error :: Custom (
@@ -222,7 +222,7 @@ pub struct PrometheusMarblerunEvent {
222222 pub activation : PrometheusMarblerunEventActivation ,
223223}
224224
225- #[ cfg( feature = "dcap " ) ]
225+ #[ cfg( feature = "attesteer " ) ]
226226impl PrometheusMarblerunEvent {
227227 pub fn get_quote_without_prepended_bytes ( & self ) -> & [ u8 ] {
228228 let marblerun_magic_prepended_header_size = 16usize ;
You can’t perform that action at this time.
0 commit comments