[COMMON] Fix name generation in readinessCheck template 92/110292/1
authorKrzysztof Opasiak <k.opasiak@samsung.com>
Thu, 16 Jul 2020 19:02:56 +0000 (21:02 +0200)
committerKrzysztof Opasiak <k.opasiak@samsung.com>
Thu, 16 Jul 2020 19:02:56 +0000 (21:02 +0200)
According to docummentation readinessCheck template accept wait_for
value in a type of list. Unfortunately in that case it generated the
init container name with -- as the name key was empty.

This commit fixes this and ensures acceptance of both simple and
extended format for wait_for value.

Issue-ID: OOM-2511
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Change-Id: Ia345251f01ade5191f0a06d6eaec41cdd6a53459


No differences found