Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
This commit is contained in:
Dimitris Karakasilis
2025-01-10 16:14:29 +02:00
committed by GitHub
parent 8a8ef8ff45
commit 347a30b261

View File

@@ -876,7 +876,7 @@ func validateSource(source string) error {
return nil
}
r, err := regexp.Compile(`^oci:|dir:|file:`)
r, err := regexp.Compile(`^oci:|^dir:|^file:`)
if err != nil {
return err
}