Fixing log collection in infra namespace
Change-Id: Ib3b42c0e6e421e41a4dfe1438677dfb9cfad59cf
diff --git a/scripts/log-collector.sh b/scripts/log-collector.sh
index 43b4d52..56b82ce 100755
--- a/scripts/log-collector.sh
+++ b/scripts/log-collector.sh
@@ -45,7 +45,7 @@
WORK=$(mktemp -d)
# All VOLTHA PODS + ONOS
- PODS="$(kubectl -n default get pod -o name | grep onos | sed -e 's/^/default:/g') $(kubectl get -n voltha pod -o name | sed -e 's/^/voltha:/g') $(kubectl -n infra get pod -o name | sed -e 's/^/default:/g')"
+ PODS="$(kubectl -n default get pod -o name | grep onos | sed -e 's/^/default:/g') $(kubectl get -n voltha pod -o name | sed -e 's/^/voltha:/g') $(kubectl -n infra get pod -o name | sed -e 's/^/infra:/g')"
if [ $? -ne 0 ]; then
echo "Failed to get PODs from Kubernetes, will retry after sleep ..."
else