diff options
author | Aditya Rajan <arajan@redhat.com> | 2021-11-19 13:35:32 +0530 |
---|---|---|
committer | Aditya Rajan <arajan@redhat.com> | 2021-11-19 22:07:47 +0530 |
commit | 6011149cae81a43e0d9c8fefc7413a61ae4f7eac (patch) | |
tree | 46c7c7f032fcb92797a873f713a805225da841ea /cni | |
parent | 671e5ee42d4eb71fc0238e8b0b1e4a68b1def156 (diff) | |
download | podman-6011149cae81a43e0d9c8fefc7413a61ae4f7eac.tar.gz podman-6011149cae81a43e0d9c8fefc7413a61ae4f7eac.tar.bz2 podman-6011149cae81a43e0d9c8fefc7413a61ae4f7eac.zip |
filter: use filepath.Match to maintain consistency with other pattern
matching in podman
Following commit ensures that we maintain consistency with how pattern
matching is being carried out everywhere else in podman.
Switch from `regexp` to `filepath.Match`
For example https://github.com/containers/common/blob/main/libimage/filters.go#L162
[NO NEW TESTS NEEDED]
Signed-off-by: Aditya Rajan <arajan@redhat.com>
Diffstat (limited to 'cni')
0 files changed, 0 insertions, 0 deletions