Skip to content

Commit f85292a

Browse files
committed
move import to top
1 parent 74fef3d commit f85292a

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

  • relay-server/src/processing

relay-server/src/processing/mod.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//!
77
//! The processor service, will then do its actual work using the processing logic defined here.
88
9-
use relay_config::Config;
9+
use relay_config::{Config, RelayMode};
1010
use relay_dynamic_config::GlobalConfig;
1111
use relay_quotas::RateLimits;
1212
use relay_sampling::evaluation::ReservoirCounters;
@@ -108,8 +108,6 @@ impl<'a> Context<'a> {
108108
/// when there is no full project config available. This is the case in stat and proxy
109109
/// Relays.
110110
pub fn should_filter(&self, feature: relay_dynamic_config::Feature) -> bool {
111-
use relay_config::RelayMode;
112-
113111
match self.config.relay_mode() {
114112
RelayMode::Proxy => false,
115113
RelayMode::Managed => !self.project_info.has_feature(feature),

0 commit comments

Comments
 (0)