Skip to content

Commit ce5bdbf

Browse files
jshum2479Johnny Shum
and
Johnny Shum
authored
fix model_diff names (#611)
Co-authored-by: Johnny Shum <[email protected]>
1 parent fcc3ac5 commit ce5bdbf

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

core/src/main/python/compare_model.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@
5050
BLANK_LINE=""
5151

5252
_program_name = 'compareModel'
53-
_class_name = 'model_diff'
54-
__logger = PlatformLogger('wlsdeploy.model_diff')
53+
_class_name = 'compare_model'
54+
__logger = PlatformLogger('wlsdeploy.compare_model')
5555

5656
__required_arguments = [
5757
CommandLineArgUtil.ORACLE_HOME_SWITCH
@@ -595,7 +595,7 @@ def main():
595595
file_name = None
596596
if len(compare_msgs) > 0:
597597
try:
598-
file_name = _outputdir + '/model_diff_stdout'
598+
file_name = _outputdir + '/compare_model_stdout'
599599
fos = JFileOutputStream(file_name, False)
600600
writer = JPrintWriter(fos, True)
601601
writer.println(BLANK_LINE)

installer/src/main/bin/compareModel.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ ECHO -oracle_home ^<oracle_home^>
6868
ECHO [-output_dir ^<output_dir^> write the outputs to the directory specified]
6969
ECHO [ diffed_model.json - json output of the differences between the models]
7070
ECHO [ diffed_model.yaml - yaml output of the differences between the models]
71-
ECHO [ model_diff_stdout - stdout of the tool compareModel ]
71+
ECHO [ compare_model_stdout - stdout of the tool compareModel ]
7272
ECHO [-variable_file ^<variable file^> variable file used for macro substitution]
7373
ECHO ^<new model^> ^<old model^> Must be the last two arguments and must be same extensions (yaml or json)
7474
ECHO.

installer/src/main/bin/compareModel.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,13 @@ usage() {
3535
echo " [-output_dir <output_dir> write the outputs to the directory specified]"
3636
echo " [ diffed_model.json - json output of the differences between the models]"
3737
echo " [ diffed_model.yaml - yaml output of the differences between the models]"
38-
echo " [ model_diff_stdout - stdout of the tool compareModel ]"
38+
echo " [ compare_model_stdout - stdout of the tool compareModel ]"
3939
echo " [-variable_file <variable file> variable file used for macro substitution]"
4040
echo " <new model> <old model> Must be the last two arguments and must be same extensions (yaml or json)"
4141
echo ""
4242
}
4343

44-
WLSDEPLOY_PROGRAM_NAME="modelDiff"; export WLSDEPLOY_PROGRAM_NAME
44+
WLSDEPLOY_PROGRAM_NAME="compareModel"; export WLSDEPLOY_PROGRAM_NAME
4545

4646
scriptName=`basename $0`
4747
scriptPath=$(dirname "$0")

site/compare.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,4 +283,4 @@ Comparing the new and old models:
283283

284284
diffed_model.json
285285
diffed_model.yaml
286-
model_diff_stdout
286+
compare_model_stdout

0 commit comments

Comments
 (0)