sclorg / container-common-scripts

Apache License 2.0
20 stars 45 forks source link

Fix checking docker_address #290

Closed phracek closed 2 years ago

phracek commented 2 years ago

The original code is here which was used before CVP (https://github.com/sclorg/container-common-scripts/commit/23d3e8b5f6f77c7624a314f15c32f1d5aaa62ff3#diff-1a059cdb3760c3d0e33b1ef71241a1f88e1f4e8d7390d29bd5f86a44b090ec4a).

But new definition expands ocp_docker_address to 172\\.30\\.[0-9\\.]* which is wrong. After changing from single quotes to double quotes the ocp_docker_address is 172\.30\.[0-9\.]*. The tests are going well and IP address is getting it properly.

Signed-off-by: Petr "Stone" Hracek phracek@redhat.com

phracek commented 2 years ago

@pkubatrh @zmiklank Please take a look at it.