diff options
author | Slack Coder <slackcoder@server.ky> | 2025-05-08 09:43:40 -0500 |
---|---|---|
committer | Slack Coder <slackcoder@server.ky> | 2025-05-19 16:00:29 -0500 |
commit | 7071186e1efe2b96cfb4555aa38570bfd5ba1049 (patch) | |
tree | d62341df1002aa0465dde1f0a3114c52bdea1920 /internal/service/config.go | |
parent | bde75151c4852029766ccafd091493f5686e4ab9 (diff) | |
download | mirror-7071186e1efe2b96cfb4555aa38570bfd5ba1049.tar.xz |
Fix verification
Use the Mirror's verification parameter instead of the global parameter
and remove it.
This fixes an issue where mirrors were not being verified.
Diffstat (limited to 'internal/service/config.go')
-rw-r--r-- | internal/service/config.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/internal/service/config.go b/internal/service/config.go index d4faeb0..0f32851 100644 --- a/internal/service/config.go +++ b/internal/service/config.go @@ -29,7 +29,6 @@ type GlobalConfig struct { MinInterval *Duration `toml:"min-interval"` StagingMethod string `toml:"staging-method,omitempty"` StagingPath string `toml:"staging-path,omitempty"` - Verify string `toml:"verify,omitempty"` } type Config struct { @@ -47,7 +46,6 @@ var DefaultConfig = Config{ MinInterval: DurationRef(time.Hour), StagingMethod: StagingMethodNone, StagingPath: "/tmp/mirror", - Verify: "", }, } |