Skip to content

Commit b29fb4a

Browse files
Correct kubectl-mongodb path for command prepare_local_e2e (#315)
# Summary When we change the directory of `kubectl-mongodb` from `public/tools/multicluster` to `cmd/kubectl-mongodb` we change the source file `build_multi_cluster_kubeconfig_creator.sh` to use the new path but I missed updating the new path in the file `funcs/multicluster`. This PR fixes that problem and updates the path to point to the correct location. ## Proof of Work Run `make prepare_local_e2e`, that will build the `kubectl-mongodb` binary and use the `kubectl mongodb multicluster` command to setup the multicluster environment.
1 parent 79543a3 commit b29fb4a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/funcs/multicluster

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,13 +210,13 @@ prepare_multi_cluster_e2e_run() {
210210
fi
211211

212212
(
213-
cd public/tools/multicluster/
213+
cd cmd/kubectl-mongodb
214214
GOOS=darwin GOARCH="${goarch}" go build -o "${MULTI_CLUSTER_KUBE_CONFIG_CREATOR_PATH}" main.go
215215
)
216216
PATH=${PATH}:docker/mongodb-kubernetes-tests
217217
else
218218
(
219-
cd public/tools/multicluster/
219+
cd cmd/kubectl-mongodb
220220
# shellcheck disable=SC2030
221221
export PATH=${GOROOT}:${PATH}
222222
GOOS=linux GOARCH=amd64 go build -o "${MULTI_CLUSTER_KUBE_CONFIG_CREATOR_PATH}" main.go

0 commit comments

Comments
 (0)