Skip to content

Commit

Permalink
Switch from lager fork to upstream (#1259)
Browse files Browse the repository at this point in the history
  • Loading branch information
silvestre committed Jan 11, 2023
1 parent 5262b18 commit f8c9d98
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 17 deletions.
2 changes: 1 addition & 1 deletion src/autoscaler/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ check: fmt lint build test

ginkgo_check:
@ current_version=$(shell ginkgo version | cut -d " " -f 3 | sed -E 's/([0-9]+\.[0-9]+)\..*/\1/');\
expected_version=$(shell cat go.mod | grep "ginkgo" | cut -d " " -f 2 | sed -E 's/v([0-9]+\.[0-9]+)\..*/\1/');\
expected_version=$(shell grep "ginkgo" "../../.tool-versions" | cut -d " " -f 2 | sed -E 's/([0-9]+\.[0-9]+)\..*/\1/');\
if [ "$${current_version}" != "$${expected_version}" ]; then \
echo "ERROR: Expected to have ginkgo version '$${expected_version}.x' but we have $(shell ginkgo version)";\
exit 1;\
Expand Down
14 changes: 6 additions & 8 deletions src/autoscaler/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,14 @@ module code.cloudfoundry.org/app-autoscaler/src/autoscaler

go 1.19

replace (
code.cloudfoundry.org/cfhttp => github.com/KevinJCross/cfhttp/v2 v2.0.0
code.cloudfoundry.org/lager => github.com/KevinJCross/lager v1.2.0
)
replace code.cloudfoundry.org/cfhttp => github.com/KevinJCross/cfhttp/v2 v2.0.0

require (
code.cloudfoundry.org/cfhttp/v2 v2.0.0
code.cloudfoundry.org/clock v1.0.0
code.cloudfoundry.org/go-log-cache v1.0.1-0.20230106184352-6dc0e9ab2e65
code.cloudfoundry.org/go-loggregator/v9 v9.0.3
code.cloudfoundry.org/lager v2.0.0+incompatible
code.cloudfoundry.org/lager v1.1.1-0.20221206004056-ec47ef5d1a44
code.cloudfoundry.org/tlsconfig v0.0.0-20220621140725-0e6fbd869921
github.com/cenkalti/backoff/v4 v4.2.0
github.com/go-sql-driver/mysql v1.7.0
Expand All @@ -29,7 +26,7 @@ require (
github.com/onsi/ginkgo/v2 v2.7.0
github.com/onsi/gomega v1.24.2
github.com/patrickmn/go-cache v2.1.0+incompatible
github.com/pivotal-cf/brokerapi/v8 v8.2.3
github.com/pivotal-cf/brokerapi/v8 v8.1.0
github.com/pkg/errors v0.9.1
github.com/prometheus/client_golang v1.14.0
github.com/rubyist/circuitbreaker v2.2.1+incompatible
Expand Down Expand Up @@ -110,7 +107,7 @@ require (
github.com/golangci/revgrep v0.0.0-20220804021717-745bb2f7c2e6 // indirect
github.com/golangci/unconvert v0.0.0-20180507085042-28b1c447d1f4 // indirect
github.com/google/go-cmp v0.5.9 // indirect
github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1 // indirect
github.com/google/pprof v0.0.0-20221219190121-3cb0bae90811 // indirect
github.com/google/uuid v1.3.0 // indirect
github.com/gordonklaus/ineffassign v0.0.0-20210914165742-4cc7213b9bc8 // indirect
github.com/gostaticanalysis/analysisutil v0.7.1 // indirect
Expand Down Expand Up @@ -161,6 +158,7 @@ require (
github.com/nishanths/exhaustive v0.8.3 // indirect
github.com/nishanths/predeclared v0.2.2 // indirect
github.com/olekukonko/tablewriter v0.0.5 // indirect
github.com/onsi/ginkgo v1.16.5 // indirect
github.com/pborman/uuid v1.2.1 // indirect
github.com/pelletier/go-toml v1.9.5 // indirect
github.com/pelletier/go-toml/v2 v2.0.5 // indirect
Expand Down Expand Up @@ -224,7 +222,7 @@ require (
golang.org/x/sys v0.4.0 // indirect
golang.org/x/term v0.4.0 // indirect
golang.org/x/text v0.6.0 // indirect
golang.org/x/tools v0.4.0 // indirect
golang.org/x/tools v0.5.0 // indirect
google.golang.org/genproto v0.0.0-20221207170731-23e4bf6bdc37 // indirect
google.golang.org/protobuf v1.28.1 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
Expand Down

0 comments on commit f8c9d98

Please sign in to comment.