Skip to content

Commit

Permalink
Merge pull request #49 from grdryn/fix-encryption
Browse files Browse the repository at this point in the history
Fix broken conditional in gpg.sh
  • Loading branch information
grdryn committed Jun 27, 2019
2 parents 2c57c93 + e64c6ba commit 226c251
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion image/tools/lib/encryption/gpg.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
function check_encryption_enabled {
local result=$(oc get secret -n ${ENCRYPTION_SECRET_NAMESPACE} ${ENCRYPTION_SECRET_NAME} -o template --template='{{.metadata.name}}')
if [ "$result" -eq "${ENCRYPTION_SECRET_NAME}" ]; then
if [ "$result" == "${ENCRYPTION_SECRET_NAME}" ]; then
return 0
else
return 1
Expand Down

0 comments on commit 226c251

Please sign in to comment.