Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make make load-test-customer-data case insensitive #4828

Merged
merged 9 commits into from
Jan 4, 2024

Conversation

maskarb
Copy link
Member

@maskarb maskarb commented Dec 12, 2023

Description

This change will UPPERCASE the provider_arg before running thru the case statement.

Testing

  1. make load-test-customer-data

myersCody
myersCody previously approved these changes Dec 12, 2023
Comment on lines 425 to 427
provider_arg=`echo ${1^^} |tr [a-z] [A-Z]`

case ${provider_arg} in
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The tr command is uppercasing the input string. If you want to use this technique, it should be done in the case statement.

Suggested change
provider_arg=`echo ${1^^} |tr [a-z] [A-Z]`
case ${provider_arg} in
case ${provider_arg^^} in

Copy link

sonarcloud bot commented Jan 4, 2024

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@samdoran samdoran enabled auto-merge (squash) January 4, 2024 22:18
@samdoran samdoran merged commit 5803415 into main Jan 4, 2024
10 checks passed
@samdoran samdoran deleted the case-insensitive-load-data branch January 4, 2024 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants