mesos-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From y..@apache.org
Subject mesos git commit: Fix the shell script to not use deprecated [..] in increment operation.
Date Fri, 10 Feb 2017 17:05:06 GMT
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 <anindya_sinha@apple.com>
Authored: Fri Feb 10 09:04:41 2017 -0800
Committer: Jiang Yan Xu <xujyan@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


Mime
View raw message