Skip to content

Commit

Permalink
Fixed formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
palant committed May 10, 2024
1 parent 05f9754 commit 29286c7
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion pingora-core/src/server/configuration/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
//! * Number of threads per service
//! * Error log file path

use clap::Parser;
use log::{debug, trace};
use pingora_error::{Error, ErrorType::*, OrErr, Result};
use serde::{Deserialize, Serialize};
use std::fs;
use clap::Parser;

/// The configuration file
///
Expand Down
2 changes: 1 addition & 1 deletion pingora-core/tests/utils/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
use once_cell::sync::Lazy;
use std::{thread, time};

use clap::Parser;
use pingora_core::listeners::Listeners;
use pingora_core::server::configuration::Opt;
use pingora_core::server::Server;
use pingora_core::services::listening::Service;
use clap::Parser;

use async_trait::async_trait;
use bytes::Bytes;
Expand Down
2 changes: 1 addition & 1 deletion pingora-proxy/examples/ctx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
// limitations under the License.

use async_trait::async_trait;
use clap::Parser;
use log::info;
use std::sync::Mutex;
use clap::Parser;

use pingora_core::server::configuration::Opt;
use pingora_core::server::Server;
Expand Down
2 changes: 1 addition & 1 deletion pingora-proxy/examples/gateway.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
// limitations under the License.

use async_trait::async_trait;
use clap::Parser;
use log::info;
use prometheus::register_int_counter;
use clap::Parser;

use pingora_core::server::configuration::Opt;
use pingora_core::server::Server;
Expand Down
2 changes: 1 addition & 1 deletion pingora-proxy/examples/load_balancer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
// limitations under the License.

use async_trait::async_trait;
use clap::Parser;
use log::info;
use pingora_core::services::background::background_service;
use std::{sync::Arc, time::Duration};
use clap::Parser;

use pingora_core::server::configuration::Opt;
use pingora_core::server::Server;
Expand Down
2 changes: 1 addition & 1 deletion pingora-proxy/examples/modify_response.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@

use async_trait::async_trait;
use bytes::Bytes;
use clap::Parser;
use serde::{Deserialize, Serialize};
use std::net::ToSocketAddrs;
use clap::Parser;

use pingora_core::server::configuration::Opt;
use pingora_core::server::Server;
Expand Down
2 changes: 1 addition & 1 deletion pingora-proxy/tests/utils/server_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

use super::cert;
use async_trait::async_trait;
use clap::Parser;
use http::header::VARY;
use http::HeaderValue;
use once_cell::sync::Lazy;
Expand All @@ -36,7 +37,6 @@ use pingora_proxy::{ProxyHttp, Session};
use std::collections::{HashMap, HashSet};
use std::sync::Arc;
use std::thread;
use clap::Parser;

pub struct ExampleProxyHttps {}

Expand Down

0 comments on commit 29286c7

Please sign in to comment.