Skip to content

Commit 76d5c7e

Browse files
committed
Pre-commit after watching community resource
1 parent ac36959 commit 76d5c7e

File tree

6 files changed

+8
-4
lines changed

6 files changed

+8
-4
lines changed

.githooks/pre-commit

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ mkdir -p "$(go env GOPATH)/bin"
1818

1919
function update_mco_tests() {
2020
echo "Regenerating MCO evergreen tests configuration"
21-
python scripts/evergreen/e2e/mco/create_mco_tests.py > .evergreen-mco.yml
21+
python scripts/evergreen/e2e/mco/create_mco_tests.py >.evergreen-mco.yml
2222
git add .evergreen-mco.yml
2323
}
2424

@@ -156,8 +156,8 @@ run_shellcheck() {
156156
local file="$1"
157157
echo "Running shellcheck on $file"
158158
if ! shellcheck -x "$file" -e SC2154 -e SC1091 -e SC1090 -e SC2148 -o require-variable-braces -P "scripts"; then
159-
echo "shellcheck failed on $file"
160-
exit 1
159+
echo "shellcheck failed on $file"
160+
exit 1
161161
fi
162162
}
163163

LICENSE-THIRD-PARTY

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ github.com/cenkalti/backoff/v4,v4.3.0,https://github.com/cenkalti/backoff/blob/v
55
github.com/cespare/xxhash/v2,v2.3.0,https://github.com/cespare/xxhash/blob/v2.3.0/LICENSE.txt,MIT
66
github.com/davecgh/go-spew/spew,v1.1.1,https://github.com/davecgh/go-spew/blob/v1.1.1/LICENSE,ISC
77
github.com/emicklei/go-restful/v3,v3.11.0,https://github.com/emicklei/go-restful/blob/v3.11.0/LICENSE,MIT
8-
github.com/evanphx/json-patch/v5,v5.9.0,https://github.com/evanphx/json-patch/blob/v5.9.0/LICENSE,BSD-3-Clause
8+
github.com/evanphx/json-patch/v5,v5.9.0,https://github.com/evanphx/json-patch/blob/v5.9.0/v5/LICENSE,BSD-3-Clause
99
github.com/fsnotify/fsnotify,v1.7.0,https://github.com/fsnotify/fsnotify/blob/v1.7.0/LICENSE,BSD-3-Clause
1010
github.com/ghodss/yaml,v1.0.0,https://github.com/ghodss/yaml/blob/v1.0.0/LICENSE,MIT
1111
github.com/go-jose/go-jose/v4,v4.0.5,https://github.com/go-jose/go-jose/blob/v4.0.5/LICENSE,Apache-2.0

config/manager/manager.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ spec:
2828
- -watch-resource=mongodb
2929
- -watch-resource=opsmanagers
3030
- -watch-resource=mongodbusers
31+
- -watch-resource=mongodbcommunity
3132
command:
3233
- /usr/local/bin/mongodb-kubernetes-operator
3334
resources:

public/mongodb-kubernetes-multi-cluster.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,7 @@ spec:
285285
- -watch-resource=mongodb
286286
- -watch-resource=opsmanagers
287287
- -watch-resource=mongodbusers
288+
- -watch-resource=mongodbcommunity
288289
- -watch-resource=mongodbmulticluster
289290
command:
290291
- /usr/local/bin/mongodb-kubernetes-operator

public/mongodb-kubernetes-openshift.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,7 @@ spec:
282282
- -watch-resource=mongodb
283283
- -watch-resource=opsmanagers
284284
- -watch-resource=mongodbusers
285+
- -watch-resource=mongodbcommunity
285286
command:
286287
- /usr/local/bin/mongodb-kubernetes-operator
287288
resources:

public/mongodb-kubernetes.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,7 @@ spec:
285285
- -watch-resource=mongodb
286286
- -watch-resource=opsmanagers
287287
- -watch-resource=mongodbusers
288+
- -watch-resource=mongodbcommunity
288289
command:
289290
- /usr/local/bin/mongodb-kubernetes-operator
290291
resources:

0 commit comments

Comments
 (0)