diff options
author | Steve Milner <smilner@redhat.com> | 2017-10-02 12:05:42 -0400 |
---|---|---|
committer | Steve Milner <smilner@redhat.com> | 2017-10-02 13:02:29 -0400 |
commit | 4d69976cf79617701c0a5ed86ec1ee6a9acd9c06 (patch) | |
tree | 14938799c847c172d6db90d4e95280b9176b8df0 /roles/cockpit | |
parent | e54cb2611e86c43650512ee3afee2c6ce846b064 (diff) | |
download | openshift-4d69976cf79617701c0a5ed86ec1ee6a9acd9c06.tar.gz openshift-4d69976cf79617701c0a5ed86ec1ee6a9acd9c06.tar.bz2 openshift-4d69976cf79617701c0a5ed86ec1ee6a9acd9c06.tar.xz openshift-4d69976cf79617701c0a5ed86ec1ee6a9acd9c06.zip |
openshift_checks: Fix incorrect list cast
docker_image_availability casted openshift_docker_additional_registries
to a list using the list() function. If a string was returned (IE: only
a single registry added) the result would be the string split up by
component characters. This change forces a string result from get_var to
be placed inside a list. If the result is anything BUT a string the
original list() function is called on the result.
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1497274
Signed-off-by: Steve Milner <smilner@redhat.com>
Diffstat (limited to 'roles/cockpit')
0 files changed, 0 insertions, 0 deletions