Motivation
|
filepath.Walk(dir, func(path string, info os.FileInfo, err error) error { |
If there is no registries directory it ends up in a empty list throwing a misleading error:
|
panic(fmt.Sprintf("Registry %s not found", url)) |
Acceptance criteria
A more descriptive error should be thrown