cardano-community / guild-operators

Artifacts and scripts created by Guild operators
https://cardano-community.github.io/guild-operators
MIT License
354 stars 178 forks source link

cnode-helper-scripts/env: .hasEKG can be an array or scalar #887

Closed nyetwurk closed 3 years ago

nyetwurk commented 3 years ago

https://github.com/cardano-community/guild-operators/blob/3f301c94348ba77bad6ff3ce05a7a3a47cdf4a29/scripts/cnode-helper-scripts/env#L187

Support EKG as either:

jq -r '.hasEKG | if .|type=="array" then .[1] else . end'
Scitz0 commented 3 years ago

Thanks, included in a future update. #888