Skip to content

Commit f79db72

Browse files
committed
refactor(bind9): correct git-ops script 'if'
ref: #21
1 parent 1830303 commit f79db72

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
@@ -32,7 +32,7 @@ spec:
3232
3333
echo "Loop Start......";
3434
35-
if [ -d /git/.git ]; then
35+
if [ ! -d /git/.git ]; then
3636
3737
REPO_NAME_FULL="${SSH_REPOSITORY_HOST}/${SSH_REPOSITORY_OWNER}/${SSH_REPOSITORY_NAME}.git"
3838

0 commit comments

Comments
 (0)