Skip to content

Commit c696454

Browse files
resolve change request
1 parent eafec58 commit c696454

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,10 @@ def check_and_tokenize(self, model_dict, attribute, location):
118118
is_string = isinstance(value, str)
119119

120120
# for discover, value is a string at this point
121+
split_value = ';'
122+
if self._model_context.is_wlst_online():
123+
split_value = ','
121124
if is_string:
122-
split_value = ';'
123-
if self._model_context.is_wlst_online():
124-
split_value = ','
125125
model_dict[attribute] = OrderedDict()
126126
split = value.split(split_value)
127127
for assign in split:
@@ -136,7 +136,7 @@ def check_and_tokenize(self, model_dict, attribute, location):
136136
assigns = []
137137
for key in properties:
138138
assigns.append('%s=%s' % (key, properties[key]))
139-
model_dict[attribute] = ';'.join(assigns)
139+
model_dict[attribute] = split_value.join(assigns)
140140

141141
def get_variable_name(self, attribute_location, attribute, suffix=None):
142142
"""

0 commit comments

Comments
 (0)