Skip to content

Commit

Permalink
use getTreehousesConfigValue
Browse files Browse the repository at this point in the history
  • Loading branch information
hiroTochigi committed Jan 25, 2024
1 parent e2a0e27 commit f7d6c26
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/aws/dependencies/configOperations.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ function getConfigAsJson(){
echo "configName is not set"
return 1
fi
local allConfig=$(treehouses config | grep $configName= | sed "s/${configName}=//")
#local allConfig=$(getTreehousesConfigValue $configName)
local allConfig=$(getTreehousesConfigValue $configName)
if ! echo "$allConfig" | jq . > /dev/null 2>&1; then
echo "getTreehousesConfigValue did not return valid JSON"
return 1
Expand Down

0 comments on commit f7d6c26

Please sign in to comment.