Skip to content

Commit

Permalink
Update kubeprobes to v1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Icikowski committed Mar 6, 2022
1 parent 4f00fe6 commit 9890fad
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion application/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module icikowski.pl/gpts
go 1.17

require (
github.com/Icikowski/kubeprobes v1.0.0
github.com/Icikowski/kubeprobes v1.1.0
github.com/gorilla/mux v1.8.0
github.com/rs/zerolog v1.26.1
github.com/stretchr/testify v1.7.0
Expand Down
4 changes: 2 additions & 2 deletions application/go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
github.com/Icikowski/kubeprobes v1.0.0 h1:VyqIwYS+dnTS5Ps27G5bmzmGUqnxHOKYqAI1I8XtziA=
github.com/Icikowski/kubeprobes v1.0.0/go.mod h1:ZGFCGfxe+CKXEkam+xtxqQgMiWw9NThbik7bSpbcGx0=
github.com/Icikowski/kubeprobes v1.1.0 h1:4Q3HdKOW78w97AXG3xulQh9/RiPhdPyKPDn6cxY9guY=
github.com/Icikowski/kubeprobes v1.1.0/go.mod h1:ZGFCGfxe+CKXEkam+xtxqQgMiWw9NThbik7bSpbcGx0=
github.com/coreos/go-systemd/v22 v22.3.2/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc=
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
Expand Down
2 changes: 1 addition & 1 deletion application/health/endpoints.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ func PrepareHealthEndpoints(log zerolog.Logger, port int) *http.Server {
Int("port", port).
Msg("preparing readiness & liveness endpoints")

health := kubeprobes.NewKubeprobes(
health := kubeprobes.New(
kubeprobes.WithLivenessProbes(ApplicationStatus.GetProbeFunction()),
kubeprobes.WithReadinessProbes(ServiceStatus.GetProbeFunction()),
)
Expand Down

0 comments on commit 9890fad

Please sign in to comment.