From f8c3741d128f03925e76de841906b7022e7bf346 Mon Sep 17 00:00:00 2001 From: "Sascha L. Teichmann" Date: Wed, 26 Jul 2023 03:29:13 +0200 Subject: [PATCH] Remove stray field in config. --- cmd/csaf_downloader/config.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/cmd/csaf_downloader/config.go b/cmd/csaf_downloader/config.go index cba4be4..07e9de6 100644 --- a/cmd/csaf_downloader/config.go +++ b/cmd/csaf_downloader/config.go @@ -10,7 +10,6 @@ package main import ( "net/http" - "time" "github.com/csaf-poc/csaf_distribution/v2/internal/models" "github.com/csaf-poc/csaf_distribution/v2/internal/options" @@ -38,8 +37,6 @@ type config struct { RemoteValidatorPresets []string `long:"validatorpreset" description:"One or more PRESETS to validate remotely" value-name:"PRESETS" toml:"validatorpreset"` Config string `short:"c" long:"config" description:"Path to config TOML file" value-name:"TOML-FILE" toml:"-"` - - ageAccept func(time.Time) bool } // configPaths are the potential file locations of the config file.