Fix python environment failed to launch due to port needs integer not string (#451)

This commit is contained in:
Ta-Ching Chen
2018-01-20 06:06:50 -08:00
committed by Soam Vasani
parent 816fd25a6c
commit 6a1da19e73
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -95,4 +95,4 @@ def setup_logger(loglevel):
#
setup_logger(logging.DEBUG)
app.logger.info("Starting server")
app.run(host='0.0.0.0', port='8888')
app.run(host='0.0.0.0', port=8888)
+2 -2
View File
@@ -167,10 +167,10 @@ helm_install_fission() {
helmVars=image=$image,imageTag=$imageTag,fetcherImage=$fetcherImage,fetcherImageTag=$fetcherImageTag,functionNamespace=$fns,controllerPort=$controllerNodeport,routerPort=$routerNodeport,pullPolicy=Always,analytics=false,logger.fluentdImage=$fluentdImage
timeout 30 helm_setup
timeout 30 bash -c "helm_setup"
echo "Deleting old releases"
helm list -q|xargs helm_uninstall_fission
helm list -q|xargs -I@ bash -c "helm_uninstall_fission @"
echo "Installing fission"
helm install \