From 0f5508013d776f8806a87957f80e74c7f74c72eb Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 20 May 2024 18:13:07 +0200 Subject: feat(config): print durations and URLs with human values --- internal/importer/package.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/importer/package.go') diff --git a/internal/importer/package.go b/internal/importer/package.go index c10a96d..dbc5854 100644 --- a/internal/importer/package.go +++ b/internal/importer/package.go @@ -105,7 +105,7 @@ func convertToLicense(in map[string]any) *nix.License { } func (i *PackageIngester) Process(parent context.Context) (<-chan nix.Importable, <-chan error) { - ctx, cancel := context.WithTimeout(parent, i.source.ImportTimeout) + ctx, cancel := context.WithTimeout(parent, i.source.ImportTimeout.Duration) results := make(chan nix.Importable) errs := make(chan error) -- cgit 1.4.1