diff options
Diffstat (limited to 'internal/importer/package.go')
-rw-r--r-- | internal/importer/package.go | 2 |
1 files changed, 1 insertions, 1 deletions
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) |