Skip to content

Commit aa018a6

Browse files
committed
Release 0.0.4.
- Avoid GeoAPI scraping on stratum0.
1 parent 7521af7 commit aa018a6

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cvmfs_server_scraper"
3-
version = "0.0.3"
3+
version = "0.0.4"
44
edition = "2021"
55
authors = ["Terje Kvernes <[email protected]>"]
66
license = "MIT"

Changelog.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this will adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) once
77
we reach version 0.1.0, up until then, expect breaking changes.
88

9+
## [0.0.4] - 2024-09-16
10+
11+
### Fixed
12+
13+
- Do not try to scrape GeoAPI information from stratum0.
14+
915
## [0.0.3] - 2024-09-16
1016

1117
### Added

src/models/servers.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ impl Server {
301301
};
302302

303303
let metadata = self.merge_metadata(metadata, meta_json);
304-
let geoapi = if populated_repos.len() > 0 {
304+
let geoapi = if populated_repos.len() > 0 && self.server_type != ServerType::Stratum0 {
305305
match self
306306
.fetch_geoapi(
307307
&client,

0 commit comments

Comments
 (0)