:wrench: ensure model-cache is in sorted order for easier git inspection.
Browse files- cache-working-models.sh +1 -1
cache-working-models.sh
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
my_jq_query=$(cat << JQ
|
4 |
[.data[] | select(.status | test("idle|live"))]
|
5 |
-
| [group_by(.model_class)[] | { key: .[0].model_class, value: [.[].id] }] | from_entries
|
6 |
JQ
|
7 |
)
|
8 |
|
|
|
2 |
|
3 |
my_jq_query=$(cat << JQ
|
4 |
[.data[] | select(.status | test("idle|live"))]
|
5 |
+
| [group_by(.model_class)[] | { key: .[0].model_class, value: ([.[].id] | sort) }] | from_entries
|
6 |
JQ
|
7 |
)
|
8 |
|