Merge branch 'main' into feat/custom-json-marshaling

This commit is contained in:
Yuzerion 2025-04-16 14:58:11 +08:00 committed by GitHub
commit 24118fa57c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 2 additions and 11 deletions

View file

@ -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"]

View file

@ -6,7 +6,6 @@ import (
"strings"
"github.com/yusing/go-proxy/pkg/json"
"github.com/yusing/go-proxy/internal/utils/strutils/ansi"
)

View file

@ -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

View file

@ -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"