Skip to content

Commit

Permalink
Update get-waagent-conf-value to remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
maddieford authored Dec 29, 2023
1 parent 98e36a5 commit be59454
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests_e2e/tests/scripts/get-waagent-conf-value
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,11 @@ fi
PYTHON=$(get-agent-python)
waagent_conf=$($PYTHON -c 'from azurelinuxagent.common.osutil import get_osutil; print(get_osutil().agent_conf_file_path)')

found_setting=false
cat $waagent_conf | while read line
do
if [[ $line == $1* ]]; then
IFS='=' read -a values <<< "$line"
echo ${values[1]}
found_setting=true
exit 0
fi
done

0 comments on commit be59454

Please sign in to comment.