Skip to content

Conversation

@jshum2479
Copy link
Member

rename the rollback_changes... to cancel_changes and rename rollback.file to non_dynamic_changes.file

IF "%RETURN_CODE%" == "104" (
ECHO.
ECHO %SCRIPT_NAME% completed successfully but the domain changes have been rolled back because -rollback_if_restart_required is specified ^(exit code = %RETURN_CODE%^)
ECHO %SCRIPT_NAME% completed successfully but the domain changes have been canceled back because -cancel_changes_if_restart_required is specified ^(exit code = %RETURN_CODE%^)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change canceled back to canceled

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changed

if [ $returnCode -eq 104 ]; then
echo ""
echo "$scriptName completed successfully but the domain changes have been rolled back because -rollback_if_restart_required is specified (exit code = ${RETURN_CODE})"
echo "$scriptName completed successfully but the domain changes have been canceled back because -cancel_changes_if_restart_required is specified (exit code = ${RETURN_CODE})"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change canceled back to canceled

@ddsharpe ddsharpe merged commit f1ea9f8 into master Dec 22, 2020
@ddsharpe ddsharpe deleted the add_restart_changes branch December 22, 2020 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants