You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ya...@apache.org on 2017/02/10 17:05:06 UTC

mesos git commit: Fix the shell script to not use deprecated [..] in increment operation.

Repository: mesos
Updated Branches:
  refs/heads/master 8e2e52c36 -> 33dc3ee3c


Fix the shell script to not use deprecated [..] in increment operation.

Review: https://reviews.apache.org/r/56533/


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/33dc3ee3
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/33dc3ee3
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/33dc3ee3

Branch: refs/heads/master
Commit: 33dc3ee3c0099d18f4b830aeb8ebbbedc5e7414a
Parents: 8e2e52c
Author: Anindya Sinha <an...@apple.com>
Authored: Fri Feb 10 09:04:41 2017 -0800
Committer: Jiang Yan Xu <xu...@apple.com>
Committed: Fri Feb 10 09:04:41 2017 -0800

----------------------------------------------------------------------
 src/examples/persistent_volume_framework.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/33dc3ee3/src/examples/persistent_volume_framework.cpp
----------------------------------------------------------------------
diff --git a/src/examples/persistent_volume_framework.cpp b/src/examples/persistent_volume_framework.cpp
index 702dba3..ab4597d 100644
--- a/src/examples/persistent_volume_framework.cpp
+++ b/src/examples/persistent_volume_framework.cpp
@@ -283,7 +283,7 @@ public:
                     if [ $? -eq 0 ]; then
                       exit 0
                     fi
-                    COUNTER=$[COUNTER+1]
+                    ((COUNTER++))
                     sleep 1
                   done
                   exit 1