upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/grasp-audit/src/bin/grasp-audit.rs
diff options
context:
space:
mode:
Diffstat (limited to 'grasp-audit/src/bin/grasp-audit.rs')
-rw-r--r--grasp-audit/src/bin/grasp-audit.rs13
1 files changed, 8 insertions, 5 deletions
diff --git a/grasp-audit/src/bin/grasp-audit.rs b/grasp-audit/src/bin/grasp-audit.rs
index 305e5eb..ab835e7 100644
--- a/grasp-audit/src/bin/grasp-audit.rs
+++ b/grasp-audit/src/bin/grasp-audit.rs
@@ -132,7 +132,11 @@ async fn main() -> Result<()> {
132 println!("\n[Run {}]", run); 132 println!("\n[Run {}]", run);
133 } 133 }
134 let report = grasp_audit::probe::run_probe( 134 let report = grasp_audit::probe::run_probe(
135 &relay, keys.clone(), read_only, timeout, overall_secs, 135 &relay,
136 keys.clone(),
137 read_only,
138 timeout,
139 overall_secs,
136 ) 140 )
137 .await; 141 .await;
138 if json { 142 if json {
@@ -144,10 +148,9 @@ async fn main() -> Result<()> {
144 tokio::time::sleep(Duration::from_secs(interval)).await; 148 tokio::time::sleep(Duration::from_secs(interval)).await;
145 } 149 }
146 } else { 150 } else {
147 let report = grasp_audit::probe::run_probe( 151 let report =
148 &relay, keys, read_only, timeout, overall_secs, 152 grasp_audit::probe::run_probe(&relay, keys, read_only, timeout, overall_secs)
149 ) 153 .await;
150 .await;
151 if json { 154 if json {
152 report.print_json(); 155 report.print_json();
153 } else { 156 } else {