Skip to content

Commit

Permalink
fix: remove clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
sfauvel committed Jan 15, 2025
1 parent 20c28ef commit 8d7a22a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
1 change: 0 additions & 1 deletion mithril-aggregator/src/snapshotter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -975,6 +975,5 @@ mod tests {
snapshotter.set_sub_temp_dir(Path::new("sub_dir"));
snapshotter.set_sub_temp_dir(PathBuf::from("sub_dir"));
snapshotter.set_sub_temp_dir("sub_dir");
snapshotter.set_sub_temp_dir("sub_dir".to_string());
}
}
10 changes: 3 additions & 7 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1935,11 +1935,9 @@ components:
MultiFilesUri:
description: MultiFilesUri represents information to retrieve multiple files
oneOf:
- $ref: "#/components/schemas/TemplateUri"
- $ref: "#/components/schemas/TemplateUri"
examples:
{
"Template": "https://aggregator/{immutable_file_number}.tar.gz"
}
{ "Template": "https://aggregator/{immutable_file_number}.tar.gz" }

TemplateUri:
description: TemplateUri represents a URI template for multiple files
Expand All @@ -1952,9 +1950,7 @@ components:
description: URI template
type: string
examples:
{
"Template": "https://aggregator/{immutable_file_number}.tar.gz"
}
{ "Template": "https://aggregator/{immutable_file_number}.tar.gz" }

CardanoDatabaseSnapshotListMessage:
description: CardanoDatabaseSnapshotListMessage represents a list of Cardano database snapshots
Expand Down

0 comments on commit 8d7a22a

Please sign in to comment.