ariatosca-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mxmrlv <...@git.apache.org>
Subject [GitHub] incubator-ariatosca pull request #188: ARIA-324 Refactor ctx proxy access
Date Sun, 06 Aug 2017 08:13:45 GMT
Github user mxmrlv commented on a diff in the pull request:

    https://github.com/apache/incubator-ariatosca/pull/188#discussion_r131536376
  
    --- Diff: examples/hello-world/scripts/stop.sh ---
    @@ -16,14 +16,13 @@
     
     set -e
     
    -TEMP_DIR="/tmp"
    -PYTHON_FILE_SERVER_ROOT=${TEMP_DIR}/python-simple-http-webserver
    -PID_FILE="server.pid"
    +TEMP_DIR=/tmp
    +PYTHON_FILE_SERVER_ROOT="${TEMP_DIR}/python-simple-http-webserver"
    +PID_FILE=server.pid
    +PID=$(cat "$PYTHON_FILE_SERVER_ROOT/$PID_FILE")
     
    -PID=`cat ${PYTHON_FILE_SERVER_ROOT}/${PID_FILE}`
    +ctx logger info [ "Shutting down web server, pid = ${PID}." ]
    +kill -9 "$PID" || exit $?
     
    -ctx logger info "Shutting down web server, pid = ${PID}."
    -kill -9 ${PID} || exit $?
    -
    -ctx logger info "Removing web server root folder: ${PYTHON_FILE_SERVER_ROOT}."
    -rm -rf ${PYTHON_FILE_SERVER_ROOT}
    +ctx logger info [ "Removing web server root folder: $PYTHON_FILE_SERVER_ROOT." ]
    --- End diff --
    
    looks awesome


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message