Skip to content

Commit eafec58

Browse files
mail properties in online not split correctly
1 parent cb5deed commit eafec58

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

core/src/main/python/wlsdeploy/tool/util/credential_injector.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
Copyright (c) 2020, 2021, Oracle and/or its affiliates.
2+
Copyright (c) 2020, 2022, Oracle and/or its affiliates.
33
Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
44
"""
55

@@ -119,8 +119,11 @@ def check_and_tokenize(self, model_dict, attribute, location):
119119

120120
# for discover, value is a string at this point
121121
if is_string:
122+
split_value = ';'
123+
if self._model_context.is_wlst_online():
124+
split_value = ','
122125
model_dict[attribute] = OrderedDict()
123-
split = value.split(';')
126+
split = value.split(split_value)
124127
for assign in split:
125128
halves = assign.split('=')
126129
model_dict[attribute][halves[0]] = halves[1]

0 commit comments

Comments
 (0)