Skip to content

Commit d875dd1

Browse files
author
Vladimir Kotal
committed
address review comments
1 parent c53156d commit d875dd1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tools/deploy.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def repack_war(logger, sourceWar, targetWar, configFile, defaultConfigFile):
110110
os.chdir(origWorkingDir)
111111

112112

113-
def deployWar(logger, sourceWar, targetWar, configFile=None):
113+
def deploy_war(logger, sourceWar, targetWar, configFile=None):
114114
"""
115115
Copy warSource to warTarget (checking existence of both), optionally
116116
repacking the warTarget archive if configuration file resides in
@@ -160,7 +160,7 @@ def deployWar(logger, sourceWar, targetWar, configFile=None):
160160
parser.add_argument('source_war', nargs=1,
161161
help='Path to war file to deploy')
162162
parser.add_argument('target_war', nargs=1,
163-
help='Path where to depoy source war file to')
163+
help='Path where to deploy source war file to')
164164

165165
args = parser.parse_args()
166166

@@ -171,7 +171,7 @@ def deployWar(logger, sourceWar, targetWar, configFile=None):
171171

172172
logger = logging.getLogger(os.path.basename(sys.argv[0]))
173173

174-
deployWar(logger, args.source_war[0], args.target_war[0], args.config)
174+
deploy_war(logger, args.source_war[0], args.target_war[0], args.config)
175175

176176
print("Start your application server (if it is not already running) "
177177
"or wait until it loads the just installed web application.\n"

0 commit comments

Comments
 (0)