Skip to content

Commit

Permalink
fix: Run cargo fmt to fix lint check
Browse files Browse the repository at this point in the history
  • Loading branch information
bryantbiggs committed Sep 4, 2024
1 parent d92f969 commit 7d0f368
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/v2/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,7 @@ impl Config {

let accepted_types = match self.accepted_types {
Some(a) => a,
None => match self.index == "gcr.io"
|| self.index.ends_with(".gcr.io")
|| self.index.ends_with(".k8s.io")
{
None => match self.index == "gcr.io" || self.index.ends_with(".gcr.io") || self.index.ends_with(".k8s.io") {
false => vec![
// accept header types and their q value, as documented in
// https://tools.ietf.org/html/rfc7231#section-5.3.2
Expand Down

0 comments on commit 7d0f368

Please sign in to comment.