Skip to content

Commit e466f20

Browse files
committed
Fixed regex in openshift imagestream test
1 parent f7f7207 commit e466f20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test-lib-postgresql.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ function test_postgresql_imagestream() {
5959
TEMPLATES="postgresql-ephemeral-template.json
6060
postgresql-persistent-template.json"
6161
for template in $TEMPLATES; do
62-
ct_os_test_image_stream_template "${THISDIR}/imagestreams/postgresql-${OS%[0-9]*}.json" "${THISDIR}/examples/${template}" postgresql "-p POSTGRESQL_VERSION=${VERSION}${tag}"
62+
ct_os_test_image_stream_template "${THISDIR}/imagestreams/postgresql-${OS//[0-9]/}.json" "${THISDIR}/examples/${template}" postgresql "-p POSTGRESQL_VERSION=${VERSION}${tag}"
6363
done
6464
}
6565

0 commit comments

Comments
 (0)