Skip to content

Commit 499e80e

Browse files
committed
refactor(bind9): correct git-ops script 'if'
ref: #21
1 parent 37e74ae commit 499e80e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

manifests/bind9/components/git-ops/Deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ spec:
3636
3737
echo "Loop Start......";
3838
39-
if [ -d /git/.git ]; then
39+
if [ ! -d /git/.git ]; then
4040
4141
REPO_NAME_FULL="${SSH_REPOSITORY_HOST}/${SSH_REPOSITORY_OWNER}/${SSH_REPOSITORY_NAME}.git"
4242

0 commit comments

Comments
 (0)