commit | 8e768ac6f23c33efeaadf2789200415db6198790 | [log] [tgz] |
---|---|---|
author | David Bainbridge <dbainbri@ciena.com> | Wed Oct 16 22:04:47 2019 +0000 |
committer | David Bainbridge <dbainbri@ciena.com> | Wed Oct 16 22:04:47 2019 +0000 |
tree | 196f6cc2af9f7d6f6430591ca0b8227cce8a7640 | |
parent | 37e303bca427a78075ec142ccf3717c397205f93 [diff] [blame] |
remove skip restart option and other small fixes
diff --git a/scripts/etcd-db-size.sh b/scripts/etcd-db-size.sh index 2c16966..befb6a8 100755 --- a/scripts/etcd-db-size.sh +++ b/scripts/etcd-db-size.sh
@@ -17,7 +17,7 @@ set -o pipefail -ETCD=$(kubectl -n voltha get pods 2>&1 | grep etcd-cluster | awk '{print $1}') +ETCD=$(kubectl -n voltha get pods 2>&1 | grep etcd-cluster | awk '{print $1}' | head -1) if [ -z "$ETCD" ]; then echo "N/A" else