mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-20 02:44:58 +00:00
PT-2289 - Allow pt-stalk do disable ps-lock-transactions data collection via parameter
- Fixed typo found during review
This commit is contained in:
@@ -1387,7 +1387,6 @@ _should_skip() {
|
|||||||
local name=$1
|
local name=$1
|
||||||
|
|
||||||
for item in "${OPT_SKIP_COLLECTION[@]}"; do
|
for item in "${OPT_SKIP_COLLECTION[@]}"; do
|
||||||
echo $item >> /tmp/sveta
|
|
||||||
if [ "$item" == "$name" ]; then
|
if [ "$item" == "$name" ]; then
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
@@ -677,7 +677,6 @@ _should_skip() {
|
|||||||
local name=$1
|
local name=$1
|
||||||
|
|
||||||
for item in "${OPT_SKIP_COLLECTION[@]}"; do
|
for item in "${OPT_SKIP_COLLECTION[@]}"; do
|
||||||
echo $item >> /tmp/sveta
|
|
||||||
if [ "$item" == "$name" ]; then
|
if [ "$item" == "$name" ]; then
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user