update bash-refine to 1.3.4
This commit is contained in:
parent
251f22d1d8
commit
39a54f55da
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# bash-refine v1.3.3: bash-refine.sh, Felix Lohmeier, 2020-09-07
|
# bash-refine v1.3.4: bash-refine.sh, Felix Lohmeier, 2020-11-02
|
||||||
# https://gist.github.com/felixlohmeier/d76bd27fbc4b8ab6d683822cdf61f81d
|
# https://gist.github.com/felixlohmeier/d76bd27fbc4b8ab6d683822cdf61f81d
|
||||||
# license: MIT License https://choosealicense.com/licenses/mit/
|
# license: MIT License https://choosealicense.com/licenses/mit/
|
||||||
|
|
||||||
|
@ -150,7 +150,7 @@ function refine_store {
|
||||||
# check if project contains at least one row (may be skipped to gain ~40ms)
|
# check if project contains at least one row (may be skipped to gain ~40ms)
|
||||||
local rows
|
local rows
|
||||||
rows=$(curl -fs --get \
|
rows=$(curl -fs --get \
|
||||||
--data project="${projects[$p]}" \
|
--data project="${projects[$1]}" \
|
||||||
--data limit=0 \
|
--data limit=0 \
|
||||||
"${endpoint}/command/core/get-rows" \
|
"${endpoint}/command/core/get-rows" \
|
||||||
| tr "," "\n" | grep total | cut -d ":" -f 2)
|
| tr "," "\n" | grep total | cut -d ":" -f 2)
|
||||||
|
|
Loading…
Reference in New Issue