Skip to content

Commit 71255a6

Browse files
LucasRoesleralexellis
authored andcommitted
Remove unneeded module check
**What** - Remove check for modules = off from the middleware template. This isn't needed Signed-off-by: Lucas Roesler <[email protected]>
1 parent 3375fad commit 71255a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

template/golang-middleware/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ ARG GOFLAGS=""
2323

2424
# Add user overrides to the root go.mod, which is the only place "replace" can be used
2525
RUN cat function/GO_REPLACE.txt >> ./go.mod || exit 0
26-
RUN if [ -d ./function/vendor ] && [ "${GO111MODULE}" == "off" ]; then \
26+
RUN if [ -d ./function/vendor ]; then \
2727
echo "moving handler vendor" && \
2828
mv -f ./function/vendor .; \
2929
else \

0 commit comments

Comments
 (0)