Skip to content

Commit

Permalink
bump go-bits
Browse files Browse the repository at this point in the history
  • Loading branch information
majewsky committed Mar 1, 2024
1 parent 8217048 commit e764812
Show file tree
Hide file tree
Showing 8 changed files with 40 additions and 15 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ require (
github.com/prometheus/common v0.49.0
github.com/rs/cors v1.10.1
github.com/sapcc/go-api-declarations v1.10.9
github.com/sapcc/go-bits v0.0.0-20240222221204-90b493ffdee9
github.com/sapcc/go-bits v0.0.0-20240301103239-440d8f9152e0
go.uber.org/automaxprocs v1.5.3
golang.org/x/exp v0.0.0-20240222234643-814bf88cf225
gopkg.in/yaml.v2 v2.4.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,8 @@ github.com/rs/cors v1.10.1 h1:L0uuZVXIKlI1SShY2nhFfo44TYvDPQ1w4oFkUJNfhyo=
github.com/rs/cors v1.10.1/go.mod h1:XyqrcTp5zjWr1wsJ8PIRZssZ8b/WMcMf71DJnit4EMU=
github.com/sapcc/go-api-declarations v1.10.9 h1:k+F3W0FTyYLazII4hdFaWLJ7L+MQRcFBD9I9P/hUNBs=
github.com/sapcc/go-api-declarations v1.10.9/go.mod h1:83R3hTANhuRXt/pXDby37IJetw8l7DG41s33Tp9NXxI=
github.com/sapcc/go-bits v0.0.0-20240222221204-90b493ffdee9 h1:rbg802tNP3trhxlzQCAQHHnd1UAfjiSB9UR7JqdRxTU=
github.com/sapcc/go-bits v0.0.0-20240222221204-90b493ffdee9/go.mod h1:w+u3Y/Dt7/1F/Km1skkratCVrexj5o0zes1Ds7aJFhE=
github.com/sapcc/go-bits v0.0.0-20240301103239-440d8f9152e0 h1:7RWqq3EEimbvrDX0s1McR/nk02QN3Dx1vURS5zh2Y8c=
github.com/sapcc/go-bits v0.0.0-20240301103239-440d8f9152e0/go.mod h1:F26a4iH+yHhpQxn+jCe8gQvtr7KdMnkyqLLVoNNgFt8=
github.com/sergi/go-diff v1.3.1 h1:xkr+Oxo4BOQKmkn/B9eMK0g5Kg/983T9DqqPHwYqD+8=
github.com/sergi/go-diff v1.3.1/go.mod h1:aMJSSKb2lpPvRNec0+w3fl7LP9IOFzdc9Pa4NFbPK1I=
github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo=
Expand Down
3 changes: 2 additions & 1 deletion internal/api/removed_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
package api

import (
"bytes"
"net/http"
"testing"

Expand Down Expand Up @@ -56,7 +57,7 @@ func TestForbidClusterIDHeader(t *testing.T) {
Path: "/v1/clusters/current",
Header: map[string]string{"X-Limes-Cluster-Id": "current"},
ExpectStatus: http.StatusOK,
ExpectBody: assert.ByteData(respBody),
ExpectBody: assert.ByteData(bytes.TrimSpace(respBody)),
}.Check(t, s.Handler)

// same request with X-Limes-Cluster-Id is rejected
Expand Down
6 changes: 6 additions & 0 deletions vendor/github.com/sapcc/go-bits/assert/http.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions vendor/github.com/sapcc/go-bits/audittools/rabbitmq.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 10 additions & 1 deletion vendor/github.com/sapcc/go-bits/httpext/server.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 15 additions & 7 deletions vendor/github.com/sapcc/go-bits/respondwith/pkg.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ github.com/sapcc/go-api-declarations/internal/marshal
github.com/sapcc/go-api-declarations/limes
github.com/sapcc/go-api-declarations/limes/rates
github.com/sapcc/go-api-declarations/limes/resources
# github.com/sapcc/go-bits v0.0.0-20240222221204-90b493ffdee9
# github.com/sapcc/go-bits v0.0.0-20240301103239-440d8f9152e0
## explicit; go 1.21
github.com/sapcc/go-bits/assert
github.com/sapcc/go-bits/audittools
Expand Down

0 comments on commit e764812

Please sign in to comment.