Skip to content

Commit

Permalink
Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
chrischdi committed Aug 31, 2023
1 parent c1c6b55 commit 3a5f0d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,6 @@ KUBE_STATE_METRICS := $(abspath $(TOOLS_BIN_DIR)/$(KUBE_STATE_METRICS_BIN)-$(KUB
KUBE_STATE_METRICS_PKG := k8s.io/kube-state-metrics/v2
KUBE_STATE_METRICS_MOD_REPLACE := $(KUBE_STATE_METRICS_PKG)=github.com/chrischdi/kube-state-metrics/v2@$(KUBE_STATE_METRICS_VER)


GOVC_VER := $(shell cat go.mod | grep "github.com/vmware/govmomi" | awk '{print $$NF}')
GOVC_BIN := govc
GOVC := $(abspath $(TOOLS_BIN_DIR)/$(GOVC_BIN)-$(GOVC_VER))
Expand Down
2 changes: 2 additions & 0 deletions hack/go-tools-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ if [ -z "${GOBIN}" ]; then
exit 1
fi

export GOWORK="off"

GOMOD_REPLACE=${GOMOD_REPLACE:=}
GOMOD_REQUIRE=${GOMOD_REQUIRE:=}

Expand Down

0 comments on commit 3a5f0d6

Please sign in to comment.