mirror of
https://github.com/yusing/godoxy.git
synced 2025-05-19 20:32:35 +02:00
Merge branch 'main' into feat/custom-json-marshaling
This commit is contained in:
commit
24118fa57c
4 changed files with 2 additions and 11 deletions
|
@ -24,6 +24,7 @@ COPY cmd ./cmd
|
|||
COPY internal ./internal
|
||||
COPY pkg ./pkg
|
||||
COPY agent ./agent
|
||||
COPY migrations ./migrations
|
||||
|
||||
ARG VERSION
|
||||
ENV VERSION=${VERSION}
|
||||
|
@ -59,4 +60,4 @@ ENV DOCKER_HOST=unix:///var/run/docker.sock
|
|||
|
||||
WORKDIR /app
|
||||
|
||||
CMD ["/app/run"]
|
||||
CMD ["/app/run"]
|
||||
|
|
|
@ -6,7 +6,6 @@ import (
|
|||
"strings"
|
||||
|
||||
"github.com/yusing/go-proxy/pkg/json"
|
||||
|
||||
"github.com/yusing/go-proxy/internal/utils/strutils/ansi"
|
||||
)
|
||||
|
||||
|
|
|
@ -10,14 +10,6 @@ import (
|
|||
"github.com/yusing/go-proxy/pkg/json"
|
||||
)
|
||||
|
||||
func TestPoller(t *testing.T) {
|
||||
for _, query := range allQueries {
|
||||
t.Run(query, func(t *testing.T) {
|
||||
Poller.Test(t, url.Values{"aggregate": []string{query}})
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
func TestExcludeDisks(t *testing.T) {
|
||||
tests := []struct {
|
||||
name string
|
||||
|
|
|
@ -9,7 +9,6 @@ import (
|
|||
"net/url"
|
||||
|
||||
"github.com/yusing/go-proxy/pkg/json"
|
||||
|
||||
"github.com/yusing/go-proxy/internal/common"
|
||||
"github.com/yusing/go-proxy/internal/gperr"
|
||||
"github.com/yusing/go-proxy/internal/net/gphttp/reverseproxy"
|
||||
|
|
Loading…
Add table
Reference in a new issue