chore: make clippy happy

This commit is contained in:
zonyitoo
2025-04-30 00:09:09 +08:00
parent 56b6c35575
commit c1f6396fd4
@@ -217,7 +217,7 @@ impl OnlineConfigService {
// Check plugin whitelist
if let Some(ref allowed_plugins) = self.allowed_plugins {
for server in &online_config.server {
if let Some(ref plugin) = server.config.plugin() {
if let Some(plugin) = server.config.plugin() {
if !allowed_plugins.contains(&plugin.plugin) {
error!(
"server-loader task found not allowed plugin: {}, url: {}",