summaryrefslogtreecommitdiffstats
path: root/kubernetes/common/cassandra/resources/restore.sh
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2021-04-19 07:00:50 +0000
committerGerrit Code Review <gerrit@onap.org>2021-04-19 07:00:50 +0000
commit1b162638763115959a0960a1195618f571d5499b (patch)
tree0ee9c135c22363c0a5873a8503f7bd4f36a55b33 /kubernetes/common/cassandra/resources/restore.sh
parent67c2cb1569edc9aac89aab271433f1f6357062dd (diff)
parent785bc3875ee2c3a45caf6ba2244d5e3b6e6b36b1 (diff)
Merge "[COMMON] Fix function declarations bashisms"
Diffstat (limited to 'kubernetes/common/cassandra/resources/restore.sh')
-rw-r--r--kubernetes/common/cassandra/resources/restore.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/kubernetes/common/cassandra/resources/restore.sh b/kubernetes/common/cassandra/resources/restore.sh
index 798ab6c53c..b56c0fac70 100644
--- a/kubernetes/common/cassandra/resources/restore.sh
+++ b/kubernetes/common/cassandra/resources/restore.sh
@@ -7,7 +7,7 @@ ss_name=""
ss="snapshots"
me=`basename $0`
-function find_target_table_name()
+find_target_table_name ()
{
dest_path=$1
keyspace_name=$2
@@ -18,7 +18,7 @@ function find_target_table_name()
printf $dest_table_name
}
-function print_usage()
+print_usage ()
{
echo "NAME"
echo " Script to restore Cassandra database from Nuvo/Cain snapshot"