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

testsuite/docker/kerberos/config.sh:3:4: error[SC2078]: This expression is constant. Did you forget a $ somewhere? #241

Open
k-wall opened this issue Jun 24, 2024 · 1 comment

Comments

@k-wall
Copy link

k-wall commented Jun 24, 2024

Snyk flags this error, which does indeed look like a true positive.

Error: SHELLCHECK_WARNING:
testsuite/docker/kerberos/config.sh:3:4: error[SC2078]: This expression is constant. Did you forget a $ somewhere?
#    1|   #!/bin/bash
#    2|   
#    3|-> [[ "TRACE" ]] && set -x
#    4|   
#    5|   : ${REALM:=KERBEROS}
@mstruk
Copy link
Contributor

mstruk commented Jun 24, 2024

It looks like it should be $TRACE.

mstruk added a commit to mstruk/strimzi-kafka-oauth that referenced this issue Jul 3, 2024
mstruk added a commit that referenced this issue Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants