mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-21 07:47:52 +00:00
Replaces regexp.MustCompile with regexp.Delayed from go.podman.io/storage/pkg/regexp for global regular expressions. This avoids compiling regular expressions during the global init scope, improving startup performance for all commands. Tests are kept using regexp.MustCompile where applicable. Fixes: #29510 Signed-off-by: Vishnu Kothakapu <vishnukothakapu27@gmail.com> |
||
|---|---|---|
| .. | ||
| annotations.go | ||
| validate.go | ||
| validate_test.go | ||