Skip to content

Commit

Permalink
updated input file with upper case
Browse files Browse the repository at this point in the history
  • Loading branch information
wilkermichael committed Jun 16, 2023
1 parent eabe144 commit 2c23f40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions control-plane/build-support/scripts/read-yaml-config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0
input_file=$1
INPUT_FILE=$1

# Convert YAML content to JSON as it is easier to deal with
JSON_CONTENTS=$(yq eval '. | tojson' "${input_file}")
JSON_CONTENTS=$(yq eval '. | tojson' "${INPUT_FILE}")

echo "${JSON_CONTENTS}"

0 comments on commit 2c23f40

Please sign in to comment.