refactor: use a single value for per-source import timeouts
1 file changed, 1 insertion(+), 1 deletion(-)
changed files
M internal/fetcher/channel.go → internal/fetcher/channel.go
@@ -44,7 +44,7 @@ ) (f FetchedFiles, err error) { args := []string{ "--no-build-output", "--timeout", - strconv.Itoa(int(i.Source.FetchTimeout.Seconds() - 1)), + strconv.Itoa(int(i.Source.Timeout.Seconds() - 1)), fmt.Sprintf("<%s/%s>", i.Source.Channel, i.Source.ImportPath), "--attr", i.Source.Attribute,