File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -275,7 +275,7 @@ pub trait Connection: Send + Sync {
275275 async fn get_status_page_data ( & self ) -> anyhow:: Result < PartialStatusPageData > ;
276276
277277 /// Get all of the configuration for all of the collectors
278- async fn get_collectors_config ( & self ) -> anyhow:: Result < Vec < CollectorConfig > > ;
278+ async fn get_collector_configs ( & self ) -> anyhow:: Result < Vec < CollectorConfig > > ;
279279}
280280
281281#[ async_trait:: async_trait]
@@ -1126,7 +1126,7 @@ mod tests {
11261126 }
11271127
11281128 #[ tokio:: test]
1129- async fn get_collectors_config ( ) {
1129+ async fn get_collector_configs ( ) {
11301130 run_postgres_test ( |ctx| async {
11311131 let db = ctx. db_client ( ) . connection ( ) . await ;
11321132 let target = Target :: X86_64UnknownLinuxGnu ;
@@ -1143,7 +1143,7 @@ mod tests {
11431143 . await
11441144 . unwrap ( ) ;
11451145
1146- let collector_configs = db. get_collectors_config ( ) . await ;
1146+ let collector_configs = db. get_collector_configs ( ) . await ;
11471147 assert ! ( collector_configs. is_ok( ) ) ;
11481148 let collector_configs = collector_configs. unwrap ( ) ;
11491149
Original file line number Diff line number Diff line change @@ -2172,7 +2172,7 @@ where
21722172 } )
21732173 }
21742174
2175- async fn get_collectors_config ( & self ) -> anyhow:: Result < Vec < CollectorConfig > > {
2175+ async fn get_collector_configs ( & self ) -> anyhow:: Result < Vec < CollectorConfig > > {
21762176 let rows = self
21772177 . conn ( )
21782178 . query (
Original file line number Diff line number Diff line change @@ -1374,7 +1374,7 @@ impl Connection for SqliteConnection {
13741374 no_queue_implementation_abort ! ( )
13751375 }
13761376
1377- async fn get_collectors_config ( & self ) -> anyhow:: Result < Vec < CollectorConfig > > {
1377+ async fn get_collector_configs ( & self ) -> anyhow:: Result < Vec < CollectorConfig > > {
13781378 no_queue_implementation_abort ! ( )
13791379 }
13801380}
You can’t perform that action at this time.
0 commit comments