mirror of
https://github.com/willfarrell/docker-crontab.git
synced 2026-10-26 19:38:55 +01:00
fix: moving the top level key name to the "name" property.
This commit is contained in:
1 parent
31d0b732b2
commit
9da424985d
1 file changed
+1
-1
+1
-1
@@ -37,7 +37,7 @@ normalize_config() {
|
||||
elif [ -f "${HOME_DIR}/config.yaml" ]; then
|
||||
JSON_CONFIG="$(rq -y <<< "$(cat "${HOME_DIR}"/config.yaml)")"
|
||||
fi
|
||||
jq -r 'map(.)' <<< "${JSON_CONFIG}" > "${HOME_DIR}"/config.working.json
|
||||
jq -r 'to_entries | map_values(.value + { name: .key })' <<< "${JSON_CONFIG}" > "${HOME_DIR}"/config.working.json
|
||||
}
|
||||
|
||||
ensure_docker_socket_accessible() {
|
||||
|
||||
Reference in new issue
Block a user